Next: , Up: GUD—Grand Unified Debugger Mode   [Index]


K.11.1 Starting GUD

Each of these commands reads a command line to invoke the debugger, using the minibuffer. The minibuffer’s initial contents contain the standard executable name and options for the debugger, and sometimes also a guess for the name of the executable file you want to debug. Shell wildcards and variables are not allowed in this command line. Emacs assumes that the first command argument which does not start with a ‘-’ is the executable file name.

gdb

M-x gdb

Run GDB as a subprocess, and interact with it via an IDE-like Emacs interface.

gud-gdb

M-x gud-gdb

Run GDB, using a GUD interaction buffer for input and output to the GDB subprocess

perldb

M-x perldb

Run the Perl interpreter in debug mode.

jdb

M-x jdb

Run the Java debugger.

pdb

M-x pdb

Run the Python debugger.

guiler

M-x guiler

Run Guile REPL for debugging Guile Scheme programs.

dbx

M-x dbx

Run the DBX debugger.

xdb

M-x xdb

Run the XDB debugger.

sdb

M-x sdb

Run the SDB debugger.