Hello, If I understand correctly, Zooba (on the Python Tools for Visual Studio team at Microsoft) suggested that IronPython isn't emitting proper debugging information so that the CLR debugger can find the correct lines of source code. Please see this thread: https://pytools.codeplex.com/workitem/2538 and the example stack:
https://www.codeplex.com/Download/AttachmentDownload.ashx?ProjectName=pytools&WorkItemId=2538&FileAttachmentId=894946 In VS 2010 Pro, I tried Debug > Attach to Process with both "Managed (v4.0) code, Native code" selected, and attached to my ipy64.exe process. If I understand correctly, this should allow me to see IronPython, C#, and C++ functions in the call stack, but it doesn't work. If someone could confirm that this is supposed to work, I'd appreciate it. Also, please advise if this issue is resolved in later versions of VS (e.g. 2013). Thanks, John --- John's business hour MST availability <https://www.google.com/calendar/embed?src=john.dimat...@ansys.com&ctz=America/Denver> (and John's availability in EST <https://www.google.com/calendar/embed?src=john.dimat...@ansys.com&ctz=America/New_York> ) On Mon, Aug 18, 2014 at 1:53 PM, John DiMatteo <jdimat...@gmail.com> wrote: > 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.dimat...@ansys.com&ctz=America/Denver> > (and John's availability in EST > <https://www.google.com/calendar/embed?src=john.dimat...@ansys.com&ctz=America/New_York> > ) > > > On Fri, Jul 25, 2014 at 10:44 AM, John DiMatteo <jdimat...@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.dimat...@ansys.com&ctz=America/Denver> >> (and John's availability in EST >> <https://www.google.com/calendar/embed?src=john.dimat...@ansys.com&ctz=America/New_York> >> ) >> >> >> On Wed, Jul 9, 2014 at 6:14 AM, Jeff Hardy <jdha...@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 <jdimat...@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@python.org >>>> https://mail.python.org/mailman/listinfo/ironpython-users >>>> >>>> >>> >> >
_______________________________________________ Ironpython-users mailing list Ironpython-users@python.org https://mail.python.org/mailman/listinfo/ironpython-users