Page 1 of 1

Continue debugging after SIGSEGV

Posted: Thu Jul 17, 2008 5:55 pm
by rjmyst3
CodeLite is an excellent product, I really enjoy using it.

One small request:
When the program that I'm writing receives signal SIGSEGV while debugging, CodeLite pops up this message:
---------------------------
CodeLite
---------------------------
Program Received signal SIGSEGV
Stack trace can be viewed in the 'Stack' tab
Would you like to terminate the debugging session?
---------------------------
Yes No Cancel
---------------------------
Where "Yes" is the default choice.

Normally after getting a SIGSEGV I look at the Stack to see what caused it.
When "Yes" is the default choice in CodeLite's dialog, I often accidentally terminate the debugging session, and lose all information about what caused the SIGSEGV.
Would it be possible to make "No" the default choice, or to remember what I chose, and not ask again?

Re: Continue debugging after SIGSEGV

Posted: Thu Jul 17, 2008 7:00 pm
by eranif
I will apply a patch for this later today

Stay tuned.

Eran

Re: Continue debugging after SIGSEGV

Posted: Thu Jul 17, 2008 10:04 pm
by eranif
this is fixed in SVN.

CodeLite will now only pop a message box that indicates that SIGSEGV occured, with single OK button.
Once clicked, the 'Stack' tab will be selected as the active tab and the debugger will continue (the same behavior like the command line tool)
Eran

Re: Continue debugging after SIGSEGV

Posted: Fri Jul 18, 2008 3:45 am
by rjmyst3
Excellent!
Thanks very much!