debugging MSVC DLLs
Gordon McMillan
gmcm at hypernet.com
Mon Jul 19 13:36:17 EDT 1999
Tom Adelman asks an MSVC question:
> I'm wondering if someone can help me with this (or should I direct
> this question to a Microsoft group?):
>
> What I'm doing now:
> I write classes in MSVC++, compile them as a DLL, and SWIG them.
> I
> then run python.exe from within the Microsoft Developer Studio, and
> then within Python load this DLL. This way, I can use the MS
> debugger to look at what's going on within my classes while I
> manipulate them in Python.
> The problem with this is that I can only debug the DLL whose
> project
> I used to start Python; I don't know how to, for example, write a
> new DLL and switch to debugging the new one.
Project Setup -> Debug -> Additional DLLs.
When you step into one, you _may_ have to browse for the source (if
the DLL was copied from where it was built) when MSVC pops up the
browse dialog.
- Gordon
More information about the Python-list
mailing list