(original) (raw)

Hi,

What's the best way to debug python3 source code?
To fix a bug i need to debug source code(C files).
I use gdb to debug.
But how can i get the exact file/point to fix the bug?
How can i know quickly where the bug is?
How can i run python>>> from gdb and giving input there how can i test and debug to fix a bug?

Someone please explain/elaborate the process you use/do as usual with examples.

Thanks.