Breaking On Signal
Related Topics:
You can set an On Signal breakpoint to suspend program execution before the specified signal is delivered.
To set an On Signal breakpoint:
- 1. In the Debugging Window, choose Windows
Breakpoints. or Execute
Set Breakpoints.
- 2. If the Details pane of the Breakpoints window is not displayed, click the Add/Change Breakpoint button (the Add/Change Breakpoint window toggles to Hide Details).
- 3. Choose Event
On Signal and type the signal number or name in the Event text box.
- Unlike other breakpoint types, the On Signal breakpoint requires you to type an argument, such as a signal number or name. This field accepts a decimal number or the signal name in either upper or lower case. The SIG prefix is optional.
- 4. Choose Action
Stop.
- 5. Click Add.
For a list of valid signals, see Signals..