The GUD (Grand Unified Debugger) library provides an Emacs interface to a wide variety of symbolic debuggers. It can run the GNU Debugger (GDB), as well as DBX, SDB, XDB, Perl’s debugging mode, the Python debugger PDB, and the Java Debugger JDB.
Questions tagged [gud]
36 questions
1
vote
0 answers
emacs/gdb: show sources of shared objects
I have a problem with debugging C++ with emacs and gdb. I can set breakpoints in functions defined in shared objects by simply adding them manually via
b file_in_so.cpp:23
But if I open file_in_so.cpp in an emacs window I cannot set the breakpoints…

headmyshoulder
- 6,240
- 2
- 20
- 27
0
votes
1 answer
What is a good debugger for native (C/C++) applications on the Mac?
I'm a native developer switching to the Mac from Windows. I have a lot of experience debugging using Windbg (CDB-GUD on Emacs) and Visual Studio and was wondering which debugger on the Mac would give me the closest experience? I'm specifically…

Krishna S
- 1
- 1
0
votes
1 answer
Emacs/gud-gdb: show assert location on failure
When an assertion in my code fails, I get a backtrace like this from gdb:
(gdb) bt
#0 0x00007ffff455b3a5 in __GI_raise (sig=6)
at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1 0x00007ffff455eb0b in __GI_abort () at abort.c:92
#2 …

Nicholas Bishop
- 1,141
- 9
- 21
0
votes
2 answers
How to bind C-x SPC locally to gud mode in Emacs 25
Similar to How to change GUD breakpoint keybinding to the old one but I would like to bind CTRL+x followed by SPACE to be gud-break.
What I have working (well it is a hack; keep reading) is:
(define-key ctl-x-map " " 'gud-break)
but ctl-x-map is…

bgoodr
- 2,744
- 1
- 30
- 51
0
votes
1 answer
gdb Python API: exceptions disappearing?
Does anyone know why, in certain places, Python code inside of gdb doesn't properly handle exceptions? Or, to clarify, perhaps the exception message
is going somewhere other than the *gud buffer. gdb is not returning control
to the prompt, as…

Geof Sawaya
- 55
- 2
- 7
0
votes
1 answer
How to force ECB to treat GUD buffers as comilation buffers?
I've tried to do it in that way:
But it does not seem to be working. What I've done wrong?

pashazz
- 127
- 3
- 11