Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: Jewest on December 11, 2018, 11:40:55 am

Title: Debugging problems GDB + C::B
Post by: Jewest on December 11, 2018, 11:40:55 am
Hi,

what are the best settings in C::B for remote debugging?
On the remote unit I have /opt/gdbserver --remote-debug PORT:2345 --attach <PID>

At the moment the debugging is unstable, and I need to reset the target often to be able to continue.
C::B version 17.12.

Best regards,

Jewest
Title: Re: Debugging problems GDB + C::B
Post by: oBFusCATed on December 11, 2018, 01:44:25 pm
What do you mean by unstable?
Title: Re: Debugging problems GDB + C::B
Post by: Jewest on December 19, 2018, 10:19:17 am
Sorry for the late reply, for some reason I do not get an email notification.(will sort this out later).

With unstable I mean that some times it does stop and sometimes it does not.
So I can never be sure that what I am debugging is correct.
I did however found out that if I remove the start / stop then the debugging is more stable.