News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Can I debug an already built executable?

Started by abc, August 01, 2009, 12:07:13 AM

Previous topic - Next topic

abc

Is it possible to use C::B to debug an already built executable,
besides via "Debug->Attach to process"?

I wish to use C::B as my gdb GUI wrapper on Linux,
but I don't want to use C::B to compile/build my application.

I'm looking to replace ddd and Insight (if you're familiar with them),
with a more modern and capable GUI environment.

These gdb wrappers start by specifying, e.g.
insight --args executable_file command_line_args.
This starts a GUI, with source code, breakpoint, local variables, etc. windows, ready to start running/stepping through the code.

If C::B can not be used for that purpose, do you know of any other Linux solution for that (besides Eclipse)?

Thanks for your help and suggestions.

abc


oBFusCATed

You can try to make a fake project and in the debugger settings to turn off the "build the debuggee" (or something similar).
(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!]

abc

I tried, but all C::B does is open an xterm and run, which does nothing but run my executable.

Does anyone use C::B as my intended use?