User forums > Using Code::Blocks

Debugging problems GDB + C::B

(1/1)

Jewest:
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

oBFusCATed:
What do you mean by unstable?

Jewest:
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.

Navigation

[0] Message Index

Go to full version