non-stop mode in GDB on linux.

Hello,

My question regards debugging with GDB on linux.

I have a system with a real-time control thread and a secondary non real-time thread that I use to check system status.

During debugging I'd like for my debugger to stop the control thread in which I have a breakpoint, but keep my other thread running so that I can see the machine status.

Now in GDB this is possible using the non-stop mode, however I cannot seem to set the non-stop mode. WHen I go to the gdb console, set non-stop on, gives me an error that it does not work.

 

My question is, how can I enable non-stop mode in my debug session.

 

Any help would be appreciated.


Regards,

Jan Jaap

1
1 comment

Hi Jan! We have the feature request about support of GDB non-stop mode in CLion. Please feel free to comment and upvote.

As for the issue, please provide us with the screenshot of the error message. Please also specify the CLion and GDB versions that you use. Thanks!

0

Please sign in to leave a comment.