User forums > Using Code::Blocks

Disable signal from breaking during debug

(1/1)

dfatcb:
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!!

oBFusCATed:
In the source code.

dfatcb:
What does that mean ... I need the *debugger* to stop breaking on a particular signal, how do I do that?

dfatcb:
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.

oBFusCATed:
If these commands work you can put them in the initial commands in the settings of the debugger.

Navigation

[0] Message Index

Go to full version