Re: [Ironpython-users] Options for debugger for DLR languages on Mono

2011-09-24 Thread Doug Blank
On Sat, Sep 24, 2011 at 5:09 PM, Dino Viehland wrote: > You  should be able to do engine.GetSysModule().settrace(func) and then > do the Execute call (this is using C# dynamic to invoke settrace). > > GetSysModule is an extension method in IronPython.Hosting. I didn't see GetSysModule for some re

Re: [Ironpython-users] Options for debugger for DLR languages on Mono

2011-09-24 Thread Dino Viehland
You should be able to do engine.GetSysModule().settrace(func) and then do the Execute call (this is using C# dynamic to invoke settrace). GetSysModule is an extension method in IronPython.Hosting. > -Original Message- > From: ironpython-users- > bounces+dinov=exchange.microsoft@pytho

Re: [Ironpython-users] Options for debugger for DLR languages on Mono

2011-09-24 Thread Doug Blank
Use of sys.settrace (especially with the bdb.py) makes the Python debugger really easy. However, I'm having one little issue: I want to set the trace from outside the running code. Currently, I'm running a Python file like this: source = engine.CreateScriptSourceFromFile(filename) source.Compile()