Public Member Functions | |
| Breakpoint (const Common::String &filename, uint line, ScriptMonitor *monitor) | |
| void | evaluate (DebuggableScript *script) |
| Common::String | getFilename () const |
| int | getLine () const |
| int | getHits () const |
| bool | isEnabled () const |
| void | enable () |
| void | disable () |
| void Wintermute::Breakpoint::evaluate | ( | DebuggableScript * | script | ) |
This should be called inside the interpreter; the breakpoint is evaluated in the context of script, and, if it is enabled and filename & line match, the attached ScriptMonitor is notified.