Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

realgud is a debugger front end. It is a potential replacement for gud

1
vote
1answer
62 views

how to change realgud:pdb pdb command

emacs' GUD (GrandUnifiedDebugger) provides way to change get pdb command name by using. (setq gud-pdb-command-name "python -m pdb") is there the way to do same with realgud
1
vote
0answers
125 views

debugging: how to optimize a RealGUD workflow

I code in Python and I my workflow uses debuggers (I coded for 8 years in Matlab). I develop numerical simulation codes: most of the time it returns a result, the question is: "Is the result right?" ...
1
vote
0answers
67 views

Why don't I get a source window using realgud:gdb?

using GNU Emacs 25.2.1 (x86_64-w64-mingw32) and realgud 20171006.1840 (from marmalade), I can't use realgud for debugging with gdb: I start it as described in the docu: M-x load-library RET realgud ...
4
votes
1answer
161 views

realgud pdb-remote and ipdb-remote not working

I've just set up realgud to use pdb and ipdb. It works fine when running a python process on my own machine. The probblem though is that when running a python process (a Pyramid web app) from within a ...
5
votes
2answers
204 views

ipdb displaying ansi color escape sequences

I'm trying to set up realgud using ipdb with emacs. The problem is that the following is displayed at the command prompt (running realgud:ipdb): [6n[Jipdb> [6D[6C[6D[J[6n[Jipdb> [6D[6C From googling ...
0
votes
1answer
139 views

How to dynamically alter defface foreground and background?

In realgud, there are fringe indicators used to show what position the debugged program is stopped at. However the face for the bit map is statically created and the background/foreground colors for ...
3
votes
2answers
359 views

Can't get realgud to work with pdb

So I have opened a buffer where a python script is loaded. I do M-x load-library RET and after that realgud:pdb. Then I get pdb /path_to_script/main_func.py which is ok. After pressing enter I get the ...
3
votes
1answer
131 views

getting a process buffer for an eshell buffer

To get a process buffer an eshell buffer I thought I used to be able to run: (get-buffer-process (current-buffer)) In Emacs 25 this no longer works. Specifically "GNU Emacs 25.1.50.2 (x86_64-...
1
vote
1answer
266 views

How to prevent realgud:pdb with arbitrary command absolutizing paths

realgud seems to want to guess the path of the second argument of the command supplied to M-x pdb (or M-x realgud:pdb). When I'm visiting a buffer in /some/path/foo.py, without realgud: (hiding the ...
2
votes
1answer
83 views

How can I tell if a buffer is a comint buffer, eshell buffer or neither?

I have Emacs Lisp program that I want to work inside either a comint process buffer or an eshell buffer. The code I currently am using is: https://github.com/rocky/emacs-dbgr/blob/master/realgud/...
6
votes
3answers
637 views

Is there a package to simplify clickable text?

I'm writing a debugger front end, and in that over the course of program execution a number of marks get added inside the source code. In other buffers such as a buffer showing execution history, or a ...
3
votes
1answer
716 views

highlight breakpoints with pdb

I use pdb with gud to debug python scripts. I am just wondering if there is way to highlight the lines with breakpoints? For example, in some screenshots of gud-gdb, some people seem to have red ...