Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 12-22-2024, 07:36 PM   #1
byword
Junior Member
byword began at the beginning.
 
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.
  • Made debugging with the VS IDE easier

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.
byword is offline   Reply With Quote
Old 12-22-2024, 08:36 PM   #2
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
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.
DiapDealer is offline   Reply With Quote
Advert
Old 12-24-2024, 04:54 AM   #3
byword
Junior Member
byword began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Apr 2022
Device: Onyx Leaf 3
Quote:
Originally Posted by DiapDealer View Post
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.
Thank you for your response.
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.
byword is offline   Reply With Quote
Old 12-24-2024, 08:59 AM   #4
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
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.
DiapDealer is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 08:29 AM.


MobileRead.com is a privately owned, operated and funded community.