> Unfortunately all the Python code coverage tools use ``sys.settrace`` > which isn't implemented in IronPython. This (I guess) is because Python > stack frames and code objects aren't used in IronPython. > . > . > . > Two alternative ideas. > 1) Implement a 'cut down' version of sys.settrace which only implements > what is possible. > 2) Alternatively a callback hook on the C# side could be implemented, so > that as IronPython enters a new line we could cache this information - > and generate a report once execution has stopped.
Profilers, Debugger and Coverage tools for .NET use the .NET Profiling API. Has anyone tried these with IronPython? -H. _______________________________________________ users mailing list users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com