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
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
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()