Package wtf :: Package app :: Package services :: Module _crash_tb
[hide private]
[frames] | no frames]

Module _crash_tb

source code

Debugging output heavily based on colubrid.debug (http://trac.pocoo.org/repos/colubrid/trunk/colubrid/debug.py@2791)

colubrid.debug is copyright 2006 by Armin Ronacher, Benjamin Wiegand, Georg Brandl and licensed under the BSD License

Classes [hide private]
  Namespace
  PythonParser
Simple python sourcecode highlighter.
  DebugRender
Functions [hide private]
 
get_frame_info(tb, context_lines=7)
Return a dict of information about a given traceback.
source code
 
debug_context(exc_info) source code
 
debug_info(environ, exc_info)
Return debug info for the request
source code
Variables [hide private]
  JAVASCRIPT = '\nfunction toggleBlock(handler) {\n if (handl...
  STYLESHEET = '\nbody {\n font-size:0.9em;\n margin: 0;\n pa...
  __package__ = 'wtf.app.services'
Variables Details [hide private]

JAVASCRIPT

Value:
'''
function toggleBlock(handler) {
    if (handler.nodeName == \'H3\') {
        var table = handler;
        do {
            table = table.nextSibling;
            if (typeof table == \'undefined\') {
                return;
...

STYLESHEET

Value:
'''
body {
  font-size:0.9em;
  margin: 0;
  padding: 1.3em;
}

* {
...