Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: alfargnoli on March 21, 2018, 10:19:10 pm

Title: Setting up debugging
Post by: alfargnoli 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?
Title: Re: Setting up debugging
Post by: BlueHazzard on March 21, 2018, 10:45:48 pm
Enable full debugger logging and post the log:
Settings->debugger->common->enable full debugger log