Simon Morris

Results 6 comments of Simon Morris

I would love to see this feature added. I have an application that uses IronPython to execute user provided scripts so graceful exit hooks within the script are not an...

@KeithJRome I just gave the `sys.settrace()` idea a try. It "works" but it is not providing per-statement trace handling but rather per-scope handling. The [python documentation](https://docs.python.org/2/library/sys.html#sys.settrace) indicates this: > The...

@KeithJRome thanks for pushing me to understand `sys.settrace()` better. It turns out I was not returning anything from my handler so tracing behavior was not as I excepted. I now...

I'm good with the `sys.settrace()` option. I don't think it should be embedded in the library since tracing will have a performance impact. I only wanted it in a debug...

https://github.com/simo9000/Consola/blob/editor/Consola/Library/scriptSession.cs