Python code snippets
Debugging🔗
pdb should be the tool for
usual debugging in Python. However, segmentation faults (SIGSEGV) cannot
be handled by pdb. Use gdb instead as
(gdb) file python
(gdb) run file.py [args]pdb should be the tool for
usual debugging in Python. However, segmentation faults (SIGSEGV) cannot
be handled by pdb. Use gdb instead as
(gdb) file python
(gdb) run file.py [args]