Home » Support » Index of All Documentation » Wing IDE Reference Manual »

10. Debugger

Wing's debugger provides a powerful toolset for rapidly locating and fixing bugs in single-threaded or multi-threaded Python code. It supports breakpoints, stepping through code, inspecting and changing stack or module data, watch points, expression evaluation, and command shell style interaction with the paused debug process.

The debugger is built around a TCP/IP client/server design that supports launching your application not just from Wing itself but also externally, as with CGI scripts or code running in an embedded scripting facility within a larger application. Remote (host to host) debugging is also provided.

Because the debugger core is written in optimized C, debug overhead is relatively low; however, you should expect your programs to run about 50% slower within the debugger.

« 9.1. Running TestsTable of Contents10.0. Quick Start »

Section Contents

10.0. Quick Start
10.1. Specifying Main Entry Point
10.2. Debug Properties
10.3. Setting Breakpoints
10.4. Starting Debug
10.5. Debugger Status
10.6. Flow Control
10.7. Viewing the Stack
10.8. Viewing Debug Data
   10.8.0. Stack Data View
      10.8.0.0. Popup Menu Options
      10.8.0.1. Filtering Value Display
   10.8.1. Watching Values
   10.8.2. Evaluating Expressions
   10.8.3. Problems Handling Values
10.9. Debug Process I/O
   10.9.0. External I/O Consoles
   10.9.1. Disabling Debug Process I/O Multiplexing
10.10. Interactive Debug Probe
   10.10.0. Managing Program State
   10.10.1. Debug Probe Options
10.11. Debugging Multi-threaded Code
10.12. Managing Exceptions
10.13. Running Without Debug