Author Topic: Disable signal from breaking during debug  (Read 8420 times)

Offline dfatcb

  • Multiple posting newcomer
  • *
  • Posts: 67
Disable signal from breaking during debug
« 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!!


Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: Disable signal from breaking during debug
« Reply #1 on: September 28, 2012, 09:34:43 am »
In the source code.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline dfatcb

  • Multiple posting newcomer
  • *
  • Posts: 67
Re: Disable signal from breaking during debug
« Reply #2 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?

Offline dfatcb

  • Multiple posting newcomer
  • *
  • Posts: 67
Re: Disable signal from breaking during debug
« Reply #3 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.


Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: Disable signal from breaking during debug
« Reply #4 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.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]