I second the pop-up idea. To display the traceback in color you should use pygments, which is able to generate nice HTML output: http://pygments.org/