hi folks,

you should be able to do this.

you'll need to step thru your Python.NET code until it actually calls into 
.NET, but from there it should be handled as any other cross-runtime call:

http://i.imgur.com/IDPsWUu.png

docs: https://pytools.codeplex.com/wikipage?title=Mixed-mode%20debugging

video (for cpp tho): http://www.youtube.com/watch?v=wvJaKQ94lBY

pls feel free to post any q's to ptvs forum on codeplex.  thanks!



________________________________
From: PythonDotNet <pythondotnet-bounces+smortaz=microsoft....@python.org> on 
behalf of Tribble, Brett <btrib...@ea.com>
Sent: Monday, July 22, 2013 12:32 PM
To: Jason Sachs; pythondotnet@python.org
Subject: Re: [Python.NET] debugging

I would love to hear some good answers to this. I've been able to use 
PTVS/Visual Studio to debug either python or .NET, but trying to cross the 
bridge between the two leaves you debugging pythondotnet, and not the .NET 
project you actually want to debug.

From: PythonDotNet [mailto:pythondotnet-bounces+btribble=ea....@python.org] On 
Behalf Of Jason Sachs
Sent: Monday, July 22, 2013 11:56 AM
To: pythondotnet@python.org
Subject: [Python.NET] debugging

Hi there--

I've used Python a lot but am new to pythondotnet. I got it running on Windows 
7 with no problem, by unzipping the download file, making sure PYTHONPATH and 
PYTHONHOME were setup properly, and running npython.exe.

How do you get it to run in a debugger? (either PyDev on Eclipse, or Microsoft 
PTVS)

Also, is there a way to install it "permanently" in an existing Python 
installation so that it will pickup the pythondotnet bridge when you run the 
regular "python.exe"?

--Jason
_________________________________________________
Python.NET mailing list - PythonDotNet@python.org
http://mail.python.org/mailman/listinfo/pythondotnet

Reply via email to