Output handler to route debugger messages to a terminal
Copyright 2004 Fourthought, Inc. (USA).
Detailed license and copyright information: http://4suite.org/COPYRIGHT
Project home, documentation, distributions: http://4suite.org/
Classes
- class TerminalOutputHandler
-
Methods
- display(self, msg)
- display_backTrace(self, tb)
- display_breakpoints(self, bps)
- display_context(self, context)
- display_contextCurrentNode(self, cn)
- display_contextMode(self, mode)
- display_contextNode(self, node)
- display_contextPosition(self, position)
- display_contextSize(self, size)
- display_currentCommand(self, cmd)
- display_currentPosition(self, node)
- display_error(self, err)
- display_exception(self, etype, value, tb)
- display_expressionResults(self, expr, rt)
- display_help(self, args)
- display_lastOutputs(self, lo)
- display_lastResult(self, lr)
- display_node = _printNode(self, node)
- display_selectResults(self, expr, rt)
- display_sheet(self, node, start=None, end=None, fileName=None)
Members
- g_fileLineCache = {}
Globals
- NAMESPACE_NODE = 13
- g_commandPrint = {1: 'Run', 2: 'Quit', 3: 'Print', 4: 'Run to Template', 5: 'List Sheet', 6: 'Back Trace', 7: 'Step', 8: 'Next', 9: 'Test XPath', 10: 'Evaluate Expression', ...}
- g_detailedHelp = {'avt': 'Evaluate a attribute value template at the current context', 'b': 'Set a break point in stylesheet', 'bt': 'Print the call stack', 'db': 'Delete a break point in stylesheet', 'eval': 'Evaluate a XPath expression at the current context', 'help': 'help', 'lb': 'List break points', 'ls': 'List Sheet\n\n ls [fileName:][start[-end]]\n\n f...e default is nine lines after the current line\n\n\n', 'lt': 'Print the current template', 'match': 'Evaluate a XPattern expression at the current context', ...}
- g_help = {'avt': 'Evaluate a attribute value template at the current context', 'b': 'Set a break point in stylesheet', 'bt': 'Print the call stack', 'db': 'Delete a break point in stylesheet', 'eval': 'Evaluate a XPath expression at the current context', 'help': 'help', 'lb': 'List break points', 'ls': 'List the current stylesheet', 'lt': 'Print the current template', 'match': 'Evaluate a XPattern expression at the current context', ...}
- g_stringTypes = [<type 'str'>, <type 'unicode'>]