Re: [Python.NET] debugging

2013-07-22 Thread Jason Sachs
...yet when I run npython.exe it works fine: C:\>c:\app\python\anaconda\1.6.0\lib\site-packages\pythonnet\npython Python 2.7.5 |Anaconda 1.6.0 (64-bit)| (default, May 31 2013, 10:45:37) [MSC v.1 500 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>>

Re: [Python.NET] debugging

2013-07-22 Thread Jason Sachs
I'm still missing this. Here's what I tried (never mind Eclipse+pydev for the moment, I'm just trying to run a python.exe to get what I want) - I created a "pythonnet" directory under site-packages - I created a "pythonnet.pth" file that contains "pythonnet" - I added the 5 files from pythonnet in

[Python.NET] Fwd: debugging

2013-07-22 Thread Jason Sachs
>To make PythonNet install formally inside an existing CPython, you are looking to build/acquire it as a module and install that module in your PYTHONPATH or in your site-packages for that CPython. >There are a number of ways to do this. depending on what you are downloading or building and where y

Re: [Python.NET] debugging

2013-07-22 Thread Shahrokh Mortazavi
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

Re: [Python.NET] debugging

2013-07-22 Thread Tribble, Brett
Yeah, I need to upgrade to the 2.0 beta. It's nice to see that pythondotnet has PTVS devs watching it. PTVS is one of the cooler things to come out of Microsoft! From: Bradley Friedman [mailto:b...@fie.us] Sent: Monday, July 22, 2013 2:10 PM To: Tribble, Brett Cc: Jason Sachs; pythondotnet@pytho

Re: [Python.NET] debugging

2013-07-22 Thread Tribble, Brett
I'm guessing that yes, it is Reflection. I'm sure I could cobble together something that works, but I haven't wanted to spend the time to play with it that much. I'm pretty used to debugging by instrumenting code with a ton of logging and "print statements" regardless. From: Bradley Friedman [m

Re: [Python.NET] debugging

2013-07-22 Thread Tribble, Brett
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

[Python.NET] debugging

2013-07-22 Thread Jason Sachs
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 Mic