Does pdb has the layout src like gdb?
Asked Answered
G

1

7

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

Graecoroman answered 25/10, 2018 at 1:31 Comment(0)
H
5

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)

Horbal answered 25/10, 2018 at 10:8 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.