Hi,
I'm currently using IronPython to develop extensions to my program.  My
python scripts are compressed in a zip file along with other resources.

Everything works fine but I would be very happy if I could find a simple way
to debug my scripts.  I don't want anything complex for now.  If I could
only do something like this :

try:
   bugged code
except:
   print debug.stack.filename + " : " debug.stack.lineno


It would be perfect.  I looked for the *traceback* module but it doesn't
seems to work with IronPython.  Also, since I load my script from a zip
file, is there a way to
simulate a filename when loading a string.

So, if I could :

a) load a string as if it was a file
b) intercept the filename/linenum in the catch block

That would be a huge improvement.


- Patrick
_______________________________________________
Users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to