Continue debugging after SIGSEGV

Discussion about CodeLite development process and patches
rjmyst3
CodeLite Curious
Posts: 3
Joined: Thu Jul 10, 2008 5:13 am
Contact:

Continue debugging after SIGSEGV

Post 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?
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Continue debugging after SIGSEGV

Post by eranif »

I will apply a patch for this later today

Stay tuned.

Eran
Make sure you have read the HOW TO POST thread
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Continue debugging after SIGSEGV

Post 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
Make sure you have read the HOW TO POST thread
rjmyst3
CodeLite Curious
Posts: 3
Joined: Thu Jul 10, 2008 5:13 am
Contact:

Re: Continue debugging after SIGSEGV

Post by rjmyst3 »

Excellent!
Thanks very much!
Post Reply