pdb will not allow you to debug modules written in C. However, you can use gdb to debug errors that may occur in C code.
To run a Python script using gdb , you can use the following command:
gdb python
and then execute the script:
(gdb) run <myscript>.py
user849425
source share