debugging MSVC DLLs

mark.mcmahon at eur.autodesk.com mark.mcmahon at eur.autodesk.com
Mon Jul 19 12:42:32 EDT 1999


I think that this is possible using the Additional DLL's in the 
Debug tab in MSVC...

Project -> Settings...
Debug tab
select Additional Dll's
- specify the dll's that you want to debug.

Note: I havn't done this myself so I dont know if it is what
I think it is.
 Please let me know

Mark

-----Original Message-----
From: Tom Adelman [mailto:ta16 at cornell.edu]
Sent: Monday, July 19, 1999 5:08 PM
To: python-list at python.org
Subject: debugging MSVC DLLs


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.

What I want to do:
    I would rather run Python from within Windows, load various DLLs,
and debug whichever DLL I need, or a new one that I write, while
remaining in the same Python execution.

Does anyone know if it's possible to do this?  Can you tell me how?

Thanks for any help,
Tom Adelman
ta16 at cornell.edu





-- 
http://www.python.org/mailman/listinfo/python-list




More information about the Python-list mailing list