File: debug.el.html
To provide better support for debugging parsers, this framework provides the interface for debugging. The work of parsing and controlling and stepping through the parsing work must be implemented by the parser.
Fortunately, the nature of language support files means that the parser may not need to be instrumented first.
The debugger uses EIEIO objects. One object controls the user interface, including stepping, data-view, queries. A second object implemented here represents the parser itself. A third represents a parser independent frame which knows how to highlight the parser buffer. Each parser must implement the interface and override any methods as needed.
Defined variables (8)
semantic-debug-current-interface | The debugger interface currently active for this buffer. |
semantic-debug-current-parser | The parser current active for this buffer. |
semantic-debug-enabled | Non-nil when debugging a parser. |
semantic-debug-mode-map | Keymap used when in semantic-debug-node. |
semantic-debug-parser-class | Class to create when building a debug parser object. |
semantic-debug-parser-debugger-source | Location of the debug parser class. |
semantic-debug-parser-source | For any buffer, the file name (no path) of the parser. |
semantic-debug-user-command | The command the user is requesting. |