debugging a DLL

David LeBlanc whisper at oz.net
Wed Aug 7 17:09:27 EDT 2002


This may be a little late coming back to you...

Create a debug version of your dll in Visual Studio.

On the debug tab of the settings dialog, set up the command line to run
python with your file.py that calls your dll. Set working directory etc. as
needed.

Set a breakpoint in your dll.

Start debugging - python will run your file.py: it will load the dll and
eventually it will hit one of your breakpoints if you're lucky.

David LeBlanc
Seattle, WA USA

> -----Original Message-----
> From: python-list-admin at python.org
> [mailto:python-list-admin at python.org]On Behalf Of Ghis Prince
> Sent: Tuesday, August 06, 2002 11:12
> To: python-list at python.org
> Subject: debugging a DLL
>
>
> I'm new to Python and couldn't find this documented anywhere.
>
> Could somebody tell me if (and how) it is possible to debug a dll
> which is called from inside python? I've created a dll using VB but
> would like to debug it when it is called inside Python.
>
> Thanks in advance.
> --
> http://mail.python.org/mailman/listinfo/python-list





More information about the Python-list mailing list