Does pdb has the layout src like gdb?

Viewed 2079

In gdb, we can use layout src to get a pretty good debug text-UI. Does pdb(The Python Debugger) have something equivalent? In pdb, I can only see the next line that is going to be executed, which is annoying.

gdb text ui is shown below:

gdb text-ui

1 Answers

Does pdb(The Python Debugger) have something equivalent?

No, but you can use pudb which is more close to layout src in gdb. From python wiki about pudb:

A visual, console-based, full-screen debugger, designed as a more comfortable drop-in replacement for pdb. (also supports IPython)

Related