Saturday 10:40 a.m.–11:20 a.m.

Mixed-language Python/C++ debugging with Python Tools for Visual Studio (Sponsor Talk)

Pavel Minaev

Audience level:
Experienced

Description

A well-recognized strength of Python is the ease with which it can be extended with libraries written in C. At the same time, the debugging story for such extensions has been notoriously poor, with no ability to seamlessly debug both languages at the same time. This talk showcases an implementation of such seamless debugging in Python Tools for Visual Studio.

Abstract

Problems with existing Python and C++ debuggers when mixing two code types: no ability to step between the two, no way to peek at underlying native data structures under the hood when in Python. Seamless mixed-mode debugging of both types in a single debug session is necessary to solve these problems, including transparent stepping from Python to native code and from native to Python, breakpoints in both types of code side by side, and the ability to inspect how the objects look from the other side.

The talk showcases the overall mixed-mode experience in Python Tools for Visual Studio, and then goes over all the specific features listed above in detail, and the limitations imposed by the mixed-language model.

Sponsors


Become a sponsor.