You are not logged in Log in Join
You are here: Home » Members » Tino Wildenhain » Improve traceback display with code excerpt and highlighting

Log in
Name

Password

 
 

Folder icon Improve traceback display with code excerpt and highlighting

This monkeypatch is a proof of concept to show how exception formatting could be improved.

It includes up to 5 lines of the sourcecode where the exception occured and displays them with linenumbers, marking the line where the exception occured.

If installed enscript is found during product initialization, it is used for a nice syntax highlighting of the cited code.

 Title   Type   Size   Modified   Status 
 Example Traceback Edit object Document 4 K 2005-07-14 published
 Visual Traceback - code highlighter in traceback Edit object News Item 5 K 2005-07-14 published
 VisualTraceback Edit object Software Release   2005-07-15 published