Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: dfatcb on September 28, 2012, 05:49:33 am

Title: Disable signal from breaking during debug
Post by: dfatcb on September 28, 2012, 05:49:33 am
Hello,

Under linux I have a routine which starts up a signal timer, the problem is during debug it keeps wanting to break "Real-Time Event 34" or whatever so I can't debug.  I see in the debug -> information -> Signal Handling it shows the signals that will cause it to stop, but where do you edit those??

Thanks!!

Title: Re: Disable signal from breaking during debug
Post by: oBFusCATed on September 28, 2012, 09:34:43 am
In the source code.
Title: Re: Disable signal from breaking during debug
Post by: dfatcb on July 19, 2013, 04:35:41 am
What does that mean ... I need the *debugger* to stop breaking on a particular signal, how do I do that?
Title: Re: Disable signal from breaking during debug
Post by: dfatcb on July 19, 2013, 04:43:53 am
Here's one way:

1 - program breaks on SIG34

2 - in the command input field type in:

handle SIG34 noprint
handle SIG34 pass

now it will be passed to the program and debugger will ignore it.

Title: Re: Disable signal from breaking during debug
Post by: oBFusCATed on July 19, 2013, 08:19:35 am
If these commands work you can put them in the initial commands in the settings of the debugger.