Showing posts with the label pdb

[FIXED] Under python pdb when a breakpoint is reached in a __del__ method, what would the stack look like if gc is the cause?

Issue Situation: I have placed a breakpoint in a __del__ method. When the object is explicitly del…

[FIXED] Debugging Python script that runs inside lldb

Issue I want to send commands to a neovim instance from a lldb (gdb) extension python script. While…

[FIXED] breakpoint in except clause doesn't have access to the bound exception

Issue Consider the following example: try: raise ValueError('test') except ValueError …

[FIXED] Oracle 18c XE: Connecting to a PDB using SID (for legacy application)

Issue I just installed the Oracle 18c XE Dadtabase and created a PDB (XEPDB1) inside the CDB. I the…

[FIXED] How to debug Python script with IPython --pdb?

Issue I would like to debug an extension written for Sphinx in interactive mode using pdb which wo…

[FIXED] How do I make large datasets load quickly in Python?

Issue I do data mining research and often have Python scripts that load large datasets from SQLite …

[FIXED] pdb step into a function when already in pdb mode

Issue When in pdb mode I often want to step into a function. Here is a situation that illustrates w…

[FIXED] "Browse To Find Source" in Visual Studio 2010

Issue When is "Browse To Find source" enabled in Visual Studio 2010? (see below) image …

[FIXED] pdb: skip restart when finished

Issue With python -m pdb -c "c" script.py the debug mode is entered, when a problem occ…

[FIXED] python pdb automatic pretty-printing

Issue I find myself doing this in pdb quite often: import pprint pprint.PrettyPrinter().pprint(va…

[FIXED] pdb/ipdb for python break on editable condition

Issue Say I have code the following code: for i in range(100): print i In general I can add…

[FIXED] Extracting chains from a electron microscopy structure

Issue I need to extract single chains from a structure file in cif format as available from the PD…

[FIXED] cannot insert breakpoint x in shared object library , (python using .so library from c++)

Issue I'm trying to analyze c++ which is made into a .so file using pybind11. The .so file has …

[FIXED] PDB doesn't stop on breakpoint in multithreaded code

Issue I'm using multi-threaded code and PDB doesn't stop on manually set breakpoints: (pdb…

[FIXED] How to debug crashdump without having dependency to symbol files?

Issue The application which I am debugging crash dumps from the customer has various release cycles…

[FIXED] PDB - Set or change Variable in interactive mode

Issue Currently, when I modify variables inside the interactive interpreter in pdb, it doesn't …

[FIXED] How to quit out of a bokeh app when running pdb?

Issue I am trying to debug a bokeh server app. Currently I am working with pdb but I am not able to…

[FIXED] PDB - How to suspend all threads

Issue When a multithreaded Python program hits a breakpoint, the relevant thread will stop but the …

[FIXED] PDB: How to inspect local variables of functions in nested stack frames?

Issue Context: I'm running some python code thru PDB (Python debugger). When I set and subsequ…

[FIXED] How to make a list for letters with great than 0 without repeation for that letter from a dataset?

Issue I have a dataset with 3 columns. One column has certain letter codes (that may repeat), and t…