[Ironpython-users] Enable Unmanaged Debugging IronPython

John DiMatteo jdimatteo at gmail.com
Mon Aug 18 21:53:58 CEST 2014


Is there any debugger that allows stepping from IronPython to C# to C++?  I
tried just adding "import pdb; pdb.set_trace()" and running with "ipy64
-X:Tracing -X:FullFrames", but attempting to step into a C# function just
stepped right over it.

It seems that the PTVS debugger can't handle this either.  After reading
the documentation at
https://pytools.codeplex.com/wikipage?title=Mixed-mode%20debugging , it
seems that debugging Python and C++ is not supported with IronPython:
"Mixed-mode debugging...is only supported for CPython 2.7 and 3.3+".

---
John's business hour MST availability
<https://www.google.com/calendar/embed?src=john.dimatteo@ansys.com&ctz=America/Denver>
 (and John's availability in EST
<https://www.google.com/calendar/embed?src=john.dimatteo@ansys.com&ctz=America/New_York>
)


On Fri, Jul 25, 2014 at 10:44 AM, John DiMatteo <jdimatteo at gmail.com> wrote:

> FYI, I posted this issue on https://pytools.codeplex.com/workitem/2538 .
>
> ---
> John's business hour MST availability
> <https://www.google.com/calendar/embed?src=john.dimatteo@ansys.com&ctz=America/Denver>
>  (and John's availability in EST
> <https://www.google.com/calendar/embed?src=john.dimatteo@ansys.com&ctz=America/New_York>
> )
>
>
> On Wed, Jul 9, 2014 at 6:14 AM, Jeff Hardy <jdhardy at gmail.com> wrote:
>
>> Adding DinoV because this sounds more like a PTVS issue than an
>> IronPython issue - from the IronPython side there's nothing that should
>> prevent it from working AFAIK. IronPython in VS uses the normal managed
>> debugger.
>>
>> - Jeff
>>
>>
>> On Wed, Jul 9, 2014 at 12:04 AM, John DiMatteo <jdimatteo at gmail.com>
>> wrote:
>>
>>> Hello,
>>>
>>> While debugging, with an IronPython startup project, I'm trying to step
>>> from IronPython to C# code to unmanaged C/C++ code.  Is this possible?
>>>
>>> I am currently able to step from IronPython to C# when the startup
>>> project is IronPython.  I'm also currently able to step from C# to
>>> unmanaged C/C++ code when the startup project is C#.  However, I am not
>>> able to step from IronPython to C# to C++ when the startup project is
>>> IronPython.
>>>
>>> Even though there was no relevant gui option I could find, I tried
>>> edited the .pyproj file, changing the EnableUnmanagedDebugging field from
>>> "false" to "true", but this did not have any noticeable impact.
>>>
>>> I'm using Visual Studio 2010 and Microsoft Visual Studio 2010 (Version
>>> 10.0.40219.1 SP1Rel), Microsoft .NET Framework Version 4.5.50709 SP1Rel,
>>> and Python Tools for Visual Studio 2.1.20620.00.
>>>
>>> I would greatly appreciate any help in this, even if just to confirm it
>>> is not possible so that I stop trying.
>>>
>>> Regards,
>>> John
>>>
>>> _______________________________________________
>>> Ironpython-users mailing list
>>> Ironpython-users at python.org
>>> https://mail.python.org/mailman/listinfo/ironpython-users
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20140818/08c51768/attachment.html>


More information about the Ironpython-users mailing list