Author Topic: Debugging problems GDB + C::B  (Read 2463 times)

Offline Jewest

  • Multiple posting newcomer
  • *
  • Posts: 31
Debugging problems GDB + C::B
« 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

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Debugging problems GDB + C::B
« Reply #1 on: December 11, 2018, 01:44:25 pm »
What do you mean by unstable?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline Jewest

  • Multiple posting newcomer
  • *
  • Posts: 31
Re: Debugging problems GDB + C::B
« Reply #2 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.