Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: danm on April 03, 2007, 05:33:39 pm

Title: remote debugging
Post by: danm on April 03, 2007, 05:33:39 pm
I've been attempting to use code::blocks to debug a separate machine running linux.  The host machine is using windows with the necessary gdb tools under cygwin.  The target is an embedded system that I can connect to by ip.  The only thing that appears to be stopping me from using code::blocks as the debugger front-end is that it automatically executes gdb commands that do not work for remote debugging (or at least our target.)

After gdb connects to the target, code::blocks executes the 'run' command automatically.  This causes gdb to kill the running executable and fail.  This seems like it would be a universal problem when trying to remotely debug.  It happens whether or not I have "Do not run the debugee" checked in the debugger settings.

Is there any way to change this behavior?  Is remote debugging supported?  Are there any plans to support remote debugging?  I was hoping there would be a plain text script file I could edit that controlled the behavior of gdb, but I didn't see one.

Thanks
-dan
Title: Re: remote debugging
Post by: mandrav on April 03, 2007, 06:00:35 pm
Quote
Are there any plans to support remote debugging?

Yes, soon.
Title: Re: remote debugging
Post by: danm on April 03, 2007, 10:02:46 pm
How soon?  Does that mean months, weeks, tonight's build?