<type>documentation</type>
<domain>debug</domain>
<id>debug-c-cpp</id>
<title>Debugging C/C++ and Python Together</title>
<date>$Date$</date>
<version>$Revision$</version>
<product>per+</product>

Wing's debugger is for Python code only and doesn't itself handle stepping into C/C++.
However, you can use Visual Studio, gdb, or another debugger concurrently, in order to
debug Python and C/C++ at the same time.

The easiest way to do this is to launch the debug process from Wing, note the process
ID shown when hovering the mouse over the bug icon in the lower left of Wing's window,
and then attach the C/C++ debugger to that process.

Alternatively, it is also possible to launch the debug process with the C/C++ debugger and
then initiate debug as described in `Debugging Externally Launched Code
<ref:debug/debugging-externally-launched-code>`__.

To debug the C/C++ code you need to be running with a copy of Python compiled from sources
with debug symbols. Note that Wing's debugger will be unavailable whenever the C/C++
debugger is paused.

