I’m trying to debug the effect of SIGINT arriving in my C program (on Linux); my program explicitly handles SIGINT to perform a tidy shutdown. I can send SIGINT to the process being debugged with:
kill -SIGINT <process_id>
…however VisualGDB always puts up a dialog box saying that it has broken on the exception, rather than letting my program break on the exception. There’s a tick box in that dialog box saying “always break on this type of exception”, which I untick, but the next time I run the debugger and send a SIGINT the same things happens again and the option is ticked once more. I’ve looked at the list of exceptions Visual Studio offers but they appear to be Windows ones, so that doesn’t help.
How do I stop VisualGDB breaking on the exception and just let my program handle it so that I can debug what it does?
-
This topic was modified 6 years, 9 months ago by RobMeades.