Skip to content Skip to sidebar Skip to footer
Showing posts with the label Pdb

Python Pdb Lambda Function Global Name Error

I was testing a fix using pdb.set_trace() to make sure it worked the way I expected before implemen… Read more Python Pdb Lambda Function Global Name Error

How To Debug Underlying C++ Library From Python Interface?

I am using apollocaffe and Reinspect. Apollocaffe is in c++ library and Reinspect is in python. Rei… Read more How To Debug Underlying C++ Library From Python Interface?

How To Quit Ipdb While In Post-mortem Debugging?

I like to inspect error in a Python script by using: $ python3 -m pdb my_script.py This drops me i… Read more How To Quit Ipdb While In Post-mortem Debugging?

How To Define A New Function In Pdb

Why can't I define new functions when I run pdb? For example take myscript.py: #!/gpfs0/export… Read more How To Define A New Function In Pdb