Author Topic: Setting up debugging  (Read 713 times)

Offline alfargnoli

  • Single posting newcomer
  • *
  • Posts: 1
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
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: 2590
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