About 100,000 results
Open links in new tab
  1. Debugging: stepping through Python script using gdb?

    Sep 14, 2011 · Debugging: stepping through Python script using gdb? Asked 14 years, 3 months ago Modified 4 years, 2 months ago Viewed 73k times

  2. linux - Loading python support in gdb - Stack Overflow

    Nov 3, 2016 · One thing to try is to find the file where py-bt is defined, and then make sure the containing directory is in some auto-load or debug-file directory that gdb will search. In …

  3. debugging - How to step through Python code to help debug …

    In Java/C# you can easily step through code to trace what might be going wrong, and IDE's make this process very user friendly. Can you trace through python code in a similar fashion?

  4. How to use cuda-gdb python debugging? - Stack Overflow

    Feb 17, 2023 · Its possible to use cuda-gdb from python, assuming you only need to debug the C/C++ portion. I don't know of a debugger that can jump from debugging python to debugging …

  5. Debugging Python with GDB - Stack Overflow

    Mar 4, 2022 · Is it possible to debug python code as you would debug C++ code with gdb? I found this documentation but I cannot get my head around how to use it. It would be cool to set …

  6. How to have a GDB/Python script use pipes for input and output …

    Apr 9, 2025 · GDB Python Scripting This is the file pty-to-inferior.py, the python thread will read stdout, print that to the gdb console, and respond by writing to stdin if being asked for a …

  7. How to debug underlying C++ library from Python interface?

    Sep 12, 2017 · gdb python b <C++ function to break at> run train.py Of course you need to compile Caffe with debug information: pass -DDEBUG=1 to cmake options of uncomment the …

  8. What is needed to use gdb 7's support for debugging Python …

    Feb 15, 2013 · Are you sure you're interpreting this feature correctly? GDB 7 added support for extending GDB itself in python, but I'm not aware of being able to use it to debug a python …

  9. debugging - Is there a way to attach a debugger to a multi …

    Nov 24, 2019 · It is a platform independent graphical GPL Python debugger with support for remote debugging over a network, multiple threads, namespace modification, embedded …

  10. Showing the stack trace from a running Python application

    Sep 25, 2008 · If you're on a Linux system, use the awesomeness of gdb with Python debug extensions (can be in python-dbg or python-debuginfo package). It also helps with …