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

Denis Akhiyarov <[email protected]>
Newsgroups gmane.comp.python.dotnet
Message-ID <CALxxJLTE5eSdm0e8CCNaqFDWaaLfrg6GiHxyjnAXPMUkt6tcMA@mail.gmail.com>
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 selected. Finally make sure that your python
debug symbols are available to PTVS/VS for cross-language debugging.

Note that currently the PTVS remote debugger is not working for pythonnet
when debugging python code.


On Tue, Jun 7, 2016 at 3:20 AM, Pochon-Guérin Ludovic <
[email protected]> wrote:

> 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 were loaded.
>
>
>
> I would like to know if it is possible to stop at breakpoints in the C#
> code and how to setup it in Visual Studio.
>
>
>
> This feature works when using IronPython, but we want to use PythonDotNet
> from Miniconda3.
>
>
>
> Thanks
>
> Ludovic
>
>
>
>
>
> _________________________________________________
> Python.NET mailing list - [email protected]
> https://mail.python.org/mailman/listinfo/pythondotnet
>

_________________________________________________
Python.NET mailing list - [email protected]
https://mail.python.org/mailman/listinfo/pythondotnet
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.