Author Topic: Setting up debugging  (Read 2570 times)

alfargnoli

  • Guest
Setting up debugging
« on: March 21, 2018, 10:19:10 pm »
I need to remotely debug. I have gdbserver running on a BeagleBone. I see the gdbserver report that remote debugging has started, and then report that the remote side has terminated the connection. CodeBlocks reports:

Setting breakpoints
Debugger name and version: GNU gdb (GDB) 7.6.1
Connected
The program is not being run.
Debugger finished with status 0

I suspect that CodeBlocks is failing to use the target executable. Any ideas?

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3353
Re: Setting up debugging
« Reply #1 on: March 21, 2018, 10:45:48 pm »
Enable full debugger logging and post the log:
Settings->debugger->common->enable full debugger log