Well I've got 2010 with the add-on. I just added the following code to my
script and will let you know the outcome:
import clr
clr.AddReference("System.Diagnosics")
from System.Diagnostics import Debugger
Debugger.Break()
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Sam Dozor
Sent: Thursday, December 16, 2010 9:40 AM
To: Discussion of IronPython
Subject: Re: [IronPython] How to break in the debugger in IP when script
lauched from a hosting C# process
The only reliable tool that I've found is visual studio 2010 w/ IronPython
add-on, although I often have a hard time breaking directly in IPy code, I tend
to first break in c# land and then step into IPy.
That said, I've been looking for a more lightweight (free?) option, so
hopefully somebody will respond to this...
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Medcoff, Charles
Sent: Thursday, December 16, 2010 9:18 AM
To: Discussion of IronPython
Subject: [IronPython] How to break in the debugger in IP when script lauched
from a hosting C# process
I have a SharePoint app (Commerce Server to be exact) that is launching an
IronPython script. What is the best way to be able to step into or break into
the debugger within the IronPython script?
--chuck
_______________________________________________
Users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
_______________________________________________
Users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
_______________________________________________
Users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com