This project has moved and is read-only. For the latest updates, please go here.

C++ interactive window

Apr 18, 2012 at 10:40 AM

I was wondering if it would be possible to use the Python interactive window whilst debugging a C++ program?

When debugging all the C++ objects are stored in memory right? So shouldn't it be possible to manipulate them, much like the context menu 'Change value'?

That would be really awesome.

Apr 18, 2012 at 5:09 PM

In theory it's possible, but it's probably a huge amount of work.  Because C++ doesn't have built-in object inspection capabilities you'd need to build all of that from scratch based upon PDB support or somehow try and get the information from Visual Studio's C++ debugger.  Then you'd need to create proxy's and hook it all up to the active process being debugged.

We're likely to do something similar for Python soon (a debug REPL for the process being debugged) but it's much easier because it's trivial to reflect upon Python objects from Python code.