PuDB is a full-screen, console-based visual debugger for Python
Questions tagged [pudb]
39 questions
1
vote
1 answer
Error when using pudb with ipython
I'm trying to use PuDB with ipython as the shell, but when I drop to shell, I get the following error:
can't set attribute
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
File…

Lorin Hochstein
- 57,372
- 31
- 105
- 141
0
votes
0 answers
Removing Pudb on Ubuntu
While ago I made a mistake and installed pudb without precisely installing it in a specific anaconda environment. Now I am trying to find it and remove it.
When I run :
pudb3 file_name.py
the debugger appears (no matter if I am in the (base)…

Sinooshka
- 511
- 5
- 10
0
votes
0 answers
pudb3 and cftime incompatibility?
I am trying to debug a code with pudb (Python 3.10) but it imports xarray and while importing it there is an error with the cftime module. In pudb it says there is no module cftime._cftime. The exact error output is
File "src/cftime/_cftime.pyx",…

M.O.
- 476
- 7
- 19
0
votes
2 answers
How to debug python code running inside exec()
I'm trying to debug a plugin code that I'm running inside exec command
is there a way to debug it somehow?
for example:
code='''
breakpoint()
foo=5
print(foo)
'''
exec(code)
I want to stop before foo is printed,
and do list (pdb) command and see…

Dor marcus
- 41
- 5
0
votes
0 answers
Starting an IPython interactive shell from pudb inside a co-routine fails
I really like pudb and in combination with IPython I've been
successfully debugging python code for years now.
Most of the time this combination just works, for example
# test1.py
import time
def do_something():
import pudb
…

Pablo
- 13,271
- 4
- 39
- 59
0
votes
1 answer
Python debuggers not working after updating PyCharm
I experiencing the the following error when I attempt to use pudb and the PyCharm debuggers. I was recently updated PyCharm and thereafter I'm experiencing this failure. Here is a example of the how I'm attempting to start the process: python3.4 -m…

dcrearer
- 1,972
- 4
- 24
- 48
0
votes
1 answer
python pudb stops stepping when main() is called
I'm very new to using pudb, i've just been using print statements forever to do basic debugging on my py code.
As soon as it enters my main() function it exits and goes to my bash prompt. How do you follow the execution all the way through the…

dobbs
- 1,089
- 6
- 22
- 45
0
votes
1 answer
googleappengine install pudb
I'm want to debug my python application on google app engine with pudb. I've installed buildout without of using virtualenv and created config file for it
buildout.cfg:
[buildout]
develop = .
parts =
python
app
pudb
nosetests
…

Igor Komar
- 381
- 1
- 8
- 16
0
votes
2 answers
Activating set_trace() selectively at runtime in pdb or sisters
In pdb/ipdb/pudb, is there a trick whereby I can selectively activate set_trace() statements during runtime?
I'm debugging somewhat complex code with probabilistic behavior, and I would like to interact with the program without the debugger…

Basel Shishani
- 7,735
- 6
- 50
- 67