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
16.0.
Debugging Externally Launched Code
16.0.0. Debugging Externally Launched Remote Code
16.0.1. Externally Launched Process Behavior
16.0.2. Debugging Embedded Python Code
16.0.3. Configuring wingdbstub
16.0.4. Starting Debug Automatically Using sitecustomize
16.0.5. Debugger API
16.1. Manually Configured Remote Debugging
16.1.0. Manually Configuring SSH Tunneling
16.1.1. File Location Maps
16.1.1.0. Manually Configured File Location Maps
16.1.1.1. Manually Configured File Location Map Examples
16.1.2. Manually Configured Remote Debugging Example
16.1.3. Manually Installing the Debugger
16.2. Using wingdb to Initiate Debug
16.3. Attaching and Detaching
16.4. Debugging C/C++ and Python Together
16.4.0. Debugging Extension Modules on Linux/Unix
16.5. Debugging Non-Python Mainloops
16.6. Debugging Linux Code with XGrab* Calls
16.7. Debugger Limitations
16.0.0. Debugging Externally Launched Remote Code
16.0.1. Externally Launched Process Behavior
16.0.2. Debugging Embedded Python Code
16.0.3. Configuring wingdbstub
16.0.4. Starting Debug Automatically Using sitecustomize
16.0.5. Debugger API
16.1. Manually Configured Remote Debugging
16.1.0. Manually Configuring SSH Tunneling
16.1.1. File Location Maps
16.1.1.0. Manually Configured File Location Maps
16.1.1.1. Manually Configured File Location Map Examples
16.1.2. Manually Configured Remote Debugging Example
16.1.3. Manually Installing the Debugger
16.2. Using wingdb to Initiate Debug
16.3. Attaching and Detaching
16.4. Debugging C/C++ and Python Together
16.4.0. Debugging Extension Modules on Linux/Unix
16.5. Debugging Non-Python Mainloops
16.6. Debugging Linux Code with XGrab* Calls
16.7. Debugger Limitations