![]() |
#1 |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Apr 2022
Device: Onyx Leaf 3
|
Sigil 2.4.0, what is debugging with VS IDE easier?
I am building Sigil 2.4.0 to test and review the newly added features.
However, I don't quite understand the meaning of this. Could anyone explain how debugging with the VS IDE has been made easier? There don't seem to be any new settings or features added to Sigil. |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,577
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
I made it easier, but not simple. The first step is configuring the build using a cmake Visual Studio generator (rather than the NMake Makefiles generator).
The bottom line is that I made easier for me to debug Sigil on Windows using the IDE. It's still quite involved and largely undocumented. Maybe I'll get around to documenting it sometime in the new year. But if you don't have an urgent need to do any Sigil debugging using the Visual Studio IDE. I don't really recommend tackling it. I only do it to get stack traces when investigating crashes. Something we were never really able to easily accomplish on Windows before. I haven't heard of any reliably repeatable Sigil crashes on Windows lately. And no... debugging with the VS IDE does not involve any settings from within Sigil. So while it's definitely not a user feature, as such; neither is it a bug fix. Last edited by DiapDealer; 12-23-2024 at 07:39 AM. |
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Apr 2022
Device: Onyx Leaf 3
|
Quote:
It seems I completely misunderstood. I thought it was a feature to help edit EPUB code by integrating Code View with VS Code. A few people around me use VS Code as a supplementary editor, so I assumed that might be the case. I am currently translating Sigil's menu into Korean and compiling a Korean version of the Sigil User Guide to help Korean users better utilize Sigil. In doing so, I am trying to understand all of Sigil's features. Especially with new features, if I don’t understand their exact functionality, I sometimes make translation errors, which is why I asked the question. To me, Sigil is the best EPUB editor. I am always grateful for it. |
|
![]() |
![]() |
![]() |
#4 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,577
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Yes. Sorry for any confusion. This particular change has only to do with the compiling and debugging of Sigil itself with the Visual Studio IDE. I compile both Qt and Sigil as Release with Debug Info builds. That way I can use the Visual Studio IDE to set breakpoints when running in debug mode. Doing so gives me actual line numbers and function names in the Sigil source code where/when problems arise. Much more revealing than simply printing QDebug() info to the debug log and inspecting crash dumps.
Last edited by DiapDealer; 12-24-2024 at 11:16 AM. |
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Debugging | tomsem | Development | 3 | 07-04-2024 06:27 PM |
Sigil's IDE | ondrejandrej | Sigil | 4 | 11-13-2011 10:44 AM |
Which IDE do the developers use? | Man Eating Duck | Calibre | 8 | 11-24-2010 07:48 PM |