[IronPython] Standard Python Debugging not supported
jmengant at sefas.com
Wed Oct 4 07:39:28 PDT 2006
I have been playing around with python debugging implementation for a while
, allthough IronPython is a great effort on Python implementation , lacking
support for some cross platform standard libraries leeds to to serious
limitation in ironpython usage versus Cpython on short and long term.
One of the big missing is definitively the the sys.settrace standard
function used inside bdb.py and so inherited by python debugging tools on
the planet as a python standard debugging API entry point for years.
The consequence to this is that trying to support IronPython in a python
portable debugging environment will fail(see below) .. And the only
reminding platform to make debugging happen will be the Visual Studio
environment .. Even the standard pdb.py which inherits bdb.py would not be
usable on short term then.
Providing a descent implementation of those low level sys.function as it is
already available within JPython port would definitively provide more
support of IronPython by existing python debugger's on the planet.
Of xourse sys.settrace is part of the current sys implementation but when it
comes to get executed it's disappointing :
JPyDbg connecting localhost on port 29111
JPyDbgI0001 : connected to localhost
['Traceback (most recent call last):
', ' File "F:\\IronPython-1.0\\Lib\\bdb.py", line 361, in run
', 'NotImplementedError: sys.settrace is not yet supported by IronPython
The not yet supported by IronPython is not really an expected serious
implementation . This makes
VisualStudio as the only python Debugger able to support IronPython in
Question is this a strategy or just a short term limitation that will be
covered soon ?
Thanks for your support to Python language
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the users