Re: [Python.NET] Debugging .NET assembly from Python 3

2016-07-19 Thread Denis Akhiyarov
; > > > Thanks anyway > > Ludovic > > > > > > *From:* PythonDotNet [mailto:pythondotnet-bounces+ludovic.pochon-guerin= > statkraft@python.org] *On Behalf Of *Denis Akhiyarov > *Sent:* 14. juni 2016 16:49 > *To:* A list for users and developers of Python f

Re: [Python.NET] Debugging .NET assembly from Python 3

2016-06-16 Thread Pochon-Guérin Ludovic
[mailto:pythondotnet-bounces+ludovic.pochon-guerin=statkraft@python.org] On Behalf Of Denis Akhiyarov Sent: 14. juni 2016 16:49 To: A list for users and developers of Python for .NET Subject: Re: [Python.NET] Debugging .NET assembly from Python 3 I regularly debugging C# code called from python side

Re: [Python.NET] Debugging .NET assembly from Python 3

2016-06-14 Thread Denis Akhiyarov
de > when called from Python code (using python dot net)? > > > > Thanks > > Ludovic > > > > > > *From:* PythonDotNet [mailto:pythondotnet-bounces+ludovic.pochon-guerin= > statkraft@python.org] *On Behalf Of *Denis Akhiyarov > *Sent:* 8. juni 2016 08:3

Re: [Python.NET] Debugging .NET assembly from Python 3

2016-06-14 Thread Pochon-Guérin Ludovic
[mailto:pythondotnet-bounces+ludovic.pochon-guerin=statkraft@python.org] On Behalf Of Denis Akhiyarov Sent: 8. juni 2016 08:32 To: A list for users and developers of Python for .NET Subject: Re: [Python.NET] Debugging .NET assembly from Python 3 There are many conversations (both codeplex and github

Re: [Python.NET] Debugging .NET assembly from Python 3

2016-06-08 Thread Denis Akhiyarov
There are many conversations (both codeplex and github) recorded in issue tracker for PTVS about debugging pythonnet code. The starting point is to ensure that you are on .NET 4+, select manually managed, native, and python debugger engines. Also make sure that managed compatibility mode is not se

[Python.NET] Debugging .NET assembly from Python 3

2016-06-07 Thread Pochon-Guérin Ludovic
Hi, Using Visual Studio 2015, I have a Python project and a C# DLL project. >From the Python code, I import and call functions from the C# class. When running in Debug, I am able to stop at breakpoints in the Python code, but not in the C# code. The debugger jumps over the calls as if no symbols

Re: [Python.NET] Debugging CPYTHON embedded in .NET

2016-01-31 Thread Denis Akhiyarov
Tony, thank you for suggesting PyCharm. Although I found code refactoring much nicer in PyCharm than PTVS, the debugger has yet to match PTVS :) I have multiple open issues for PyCharm/PTVS debuggers: https://youtrack.jetbrains.com/issue/PY-16844 https://github.com/Microsoft/PTVS/issues/552 Any

Re: [Python.NET] Debugging CPYTHON embedded in .NET

2015-07-10 Thread Tony Roberts
Hi Denis, you can use the remote debugger in PyCharm to attach to your .NET process. It requires a small bit of python code in your application to make it connect to the PyCharm debug server, but it works very well. See the instructions here: http://blog.jetbrains.com/pycharm/2010/12/python-remot

[Python.NET] Debugging CPYTHON embedded in .NET

2015-07-09 Thread Denis Akhiyarov
Dear users and developers of PythonNET: How do you debug CPython embedded in . NET? Did you find any reliable way to do this with IDE such as PTVS or Pycharm? PTVS offers mixed-mode and remote debugging, none of which seem to be usable with PythonNET. Thanks, Denis _

Re: [Python.NET] debugging

2014-11-20 Thread Denis Akhiyarov
I would highly recommend PTVS: 1. supports mixed-mode debugging between Python, C#, C/C++, Fortran, etc. 2. integrates ipython nicely into workflow 3. intellisense is quite powerful The only issue I found (reported as bug) is that remote debugging does not work with pythonnet. please note that m

Re: [Python.NET] debugging

2014-11-11 Thread Tony Roberts
Hi Noel, any python ide should work fine. If you're using windows you can just use your regular python and import the clr module without using npython (npython is useful for linux where some distros have python built a certain way that means the clr module can't be imported). You could take a look

Re: [Python.NET] debugging

2014-11-10 Thread Noel McWilliam
Hi Tony, I’m new to Python and to Python for .NET. Can you recommend an IDE that can be configured to reference nPython?  Thanks in advanceNoel Disclaimer: This email contains proprietary information some or all of which may be legally privileged. It is for the intended recipient only. If an addres

Re: [Python.NET] debugging

2013-07-23 Thread Jason Sachs
thanks both of you! On Tue, Jul 23, 2013 at 8:39 AM, Daniel Krause wrote: > This link might help you: > http://www.lfd.uci.edu/~gohlke/pythonlibs/ > > > 2013/7/23 Jason Sachs > >> is there a prebuilt version of pythonnet for x64? I tried downloading >> source + opening the VS10 solution file i

Re: [Python.NET] debugging

2013-07-23 Thread Daniel Krause
This link might help you: http://www.lfd.uci.edu/~gohlke/pythonlibs/ 2013/7/23 Jason Sachs > is there a prebuilt version of pythonnet for x64? I tried downloading > source + opening the VS10 solution file it in Visual Studio express 2013 > but it gives a bunch of migration errors. > > > On Mon,

Re: [Python.NET] debugging

2013-07-23 Thread Jason Sachs
is there a prebuilt version of pythonnet for x64? I tried downloading source + opening the VS10 solution file it in Visual Studio express 2013 but it gives a bunch of migration errors. On Mon, Jul 22, 2013 at 5:48 PM, Bradley Friedman wrote: > My best guess is that the pyd file is not built cor

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

Re: [Python.NET] debugging

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

Re: [Python.NET] debugging

2013-07-22 Thread Tribble, Brett
otnet@python.org Subject: Re: [Python.NET] debugging it looks like there's something similar to the WingIDE solution, for PTVS http://pytools.codeplex.com/wikipage?title=Remote%20Debugging%20for%20Windows%2c%20Linux%20and%20OS%20X -brad On Jul 22, 2013, at 5:05 PM, Bradley Friedman mailto:b

Re: [Python.NET] debugging

2013-07-22 Thread Tribble, Brett
dless. From: Bradley Friedman [mailto:b...@fie.us] Sent: Monday, July 22, 2013 1:39 PM To: Tribble, Brett Cc: Jason Sachs; pythondotnet@python.org Subject: Re: [Python.NET] debugging I'm intrigued by this Brett. Is it that all the .NET Reflection gets in the way? I could certainly see that

Re: [Python.NET] debugging

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

[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