On Thu, Dec 16, 2010 at 7:18 AM, Medcoff, Charles
<charles.medc...@rcmt.com> wrote:
> 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?

Hi Charles,
Simplest version:
    import System.Diagnostics; System.Diagnostics.Debugger.Break()

See [1] for more details.

Maybe I should add a clr.Break() or something like that to make it easier.

- Jeff

[1] http://jdhardy.blogspot.com/2010/01/debugging-techniques-for-ironpython.html
_______________________________________________
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to