cdtdebug man page

cdtdebug — The Eclipse C/C++ Stand-alone Debugger


cdtdebug [ ECLIPSE-OPTIONS ] [ -h, --help ] [ -b build-log ] [ -a ] | [ -c core ] -e executable... ]


cdtdebug is a graphical C/C++ debugger using Eclipse and gdb. The debugger uses Eclipse plug-ins and features found in the eclipse-cdt package and invokes an Eclipse application specialized to bring up just the C/C++ debugging elements. The debugger can be used to debug executables, core files, and can also attach to existing processes. Internally, gdb is used to perform the debugging tasks via the gdb/mi interface. For more info, see the upstream wiki page.


Operation modes:

-h, --help
print help, then exit.

Indexing assist options:

-b build-log
specify build log to use for compiler includes/flags.

Target options:

attach to an existing process (list will be shown).
-c core
debug core file (need to also specify corresponding executable).
-e executable [ args... ]
debug given executable (passing args to main).

The -e option must be used last as subsequent options are passed to main.

Specifying insufficient arguments for a particular target will result in a dialog displayed to enter the required values for that target. Specifying no target option brings up a dialog for debugging an executable with the executable path, program arguments, and build log filled in from the last -e invocation, if one exists.

For details on options that can be passed to Eclipse, see: http://help.eclipse.org/luna/index.jsp?….

See Also



No known bugs.


Jeff Johnston (jjohnstn@redhat.com)


Explore man page connections for cdtdebug(1).