User forums > Help

Can I debug an already built executable?

(1/1)

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:
Nobody knows the answer? :cry:

oBFusCATed:
You can try to make a fake project and in the debugger settings to turn off the "build the debuggee" (or something similar).

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?

Navigation

[0] Message Index

Go to full version