Advanced Debugging Topics
This chapter describes advanced debugging techniques, including debugging externally launched code, remote debugging, alternative methods for starting debug, and using Wing's debugger together with a debugger for C/C++ code.
See also the collection of How-Tos for tips on working with specific third party libraries and frameworks for Python.
Section Contents
15.0.
Debugging Externally Launched Code
15.0.0. Debugging Externally Launched Remote Code
15.0.1. Externally Launched Process Behavior
15.0.2. Debugging Embedded Python Code
15.0.3. Configuring wingdbstub
15.0.4. Starting Debug Automatically Using sitecustomize
15.0.5. Debugger API
15.1. Manually Configured Remote Debugging
15.1.0. Manually Configuring SSH Tunneling
15.1.1. File Location Maps
15.1.1.0. Manually Configured File Location Maps
15.1.1.1. Manually Configured File Location Map Examples
15.1.2. Manually Configured Remote Debugging Example
15.1.3. Manually Installing the Debugger
15.2. Using wingdb to Initiate Debug
15.3. Attaching and Detaching
15.4. Debugging C/C++ and Python Together
15.4.0. Debugging Extension Modules on Linux/Unix
15.5. Debugging Non-Python Mainloops
15.6. Debugging Linux Code with XGrab* Calls
15.7. Debugger Limitations
15.0.0. Debugging Externally Launched Remote Code
15.0.1. Externally Launched Process Behavior
15.0.2. Debugging Embedded Python Code
15.0.3. Configuring wingdbstub
15.0.4. Starting Debug Automatically Using sitecustomize
15.0.5. Debugger API
15.1. Manually Configured Remote Debugging
15.1.0. Manually Configuring SSH Tunneling
15.1.1. File Location Maps
15.1.1.0. Manually Configured File Location Maps
15.1.1.1. Manually Configured File Location Map Examples
15.1.2. Manually Configured Remote Debugging Example
15.1.3. Manually Installing the Debugger
15.2. Using wingdb to Initiate Debug
15.3. Attaching and Detaching
15.4. Debugging C/C++ and Python Together
15.4.0. Debugging Extension Modules on Linux/Unix
15.5. Debugging Non-Python Mainloops
15.6. Debugging Linux Code with XGrab* Calls
15.7. Debugger Limitations