How to send CTRL+C to process when debugging

Answered
I am debugging and want to send the a CTRL+C to the process being debugged. I want to debug the behavior when receiving a SIGINT.

It seems CTRL+key sequences are filtered by the IDE and not send to the process.

Is there another way?
3 comments
Comment actions Permalink

Having the same problem... 

Could anyone answer this question please?

0
Comment actions Permalink

Hi,

If you hover your mouse over the Stop button, you will see the tooltip with a shortcut. You can then go to settings --> Keymap and find this action by shortcut and customozise as you wish.

0
Comment actions Permalink

In CLion 2019.2, at least, the debugger's Stop button doesn't send a SIGINT, it sends a SIGKILL (I think - its not SIGINT anyway). However in the Run state, the Stop button does send a SIGINT. I haven't been able to find a way to send a SIGINT to the debugged process from within CLion.

0

Please sign in to leave a comment.