1

Topic: Python Debugging

I have just spent a rather frustrating couple of hours debugging a python script in a very complicated large system.

Please please please can we have improved error messages in the python script error box. When you have multiple loops with mutiple lists in a large script it is very very hard to find where the "Type Error: list object is not callable" error is actually coming from.
To build an emulation platform in a different python development environment is not really on, with a lot of I/O to the script it can takes ages to set it up anyway.
What I had to do to find it was manually add "message.string_set("line 30 is OK")" commands throught my script and zoom in from there. Very painful.

It would be nice to give a line number and a print of the line and a pointer to the statement in that line that fails....
It would be nice to give a line number and a print of the line....
It would be nice to give a line number....
It would be nice to give a print of the line....

In fact it would be nice to give anything more than Type Error: list object is not callable"

I'm sure I can't be the only person that would find this very useful.

2

Re: Python Debugging

I'll second the motion!  Good suggestions.

Thanks,

Joe