| 31 | } |
| 32 | |
| 33 | void CtrlrLuaDebugger::dbgWrite(std::string data) |
| 34 | { |
| 35 | owner.getOwner().getWindowManager().show (CtrlrPanelWindowManager::LuaMethodEditor); |
| 36 | |
| 37 | CtrlrLuaMethodEditor *ui = dynamic_cast<CtrlrLuaMethodEditor *>(owner.getOwner().getWindowManager().getContent(CtrlrPanelWindowManager::LuaMethodEditor)); |
| 38 | |
| 39 | // Paused at file disableMidi line 7 (1) (breakpoint) |
| 40 | |
| 41 | if (_STR(data).contains ("Paused at")) |
| 42 | { |
| 43 | if (_STR(data).contains ("(breakpoint)")) |
| 44 | { |
| 45 | /* a breakppoint was hit */ |
| 46 | } |
| 47 | commandQueue.add ("trace"); |
| 48 | commandQueue.add ("vars"); |
| 49 | } |
| 50 | |
| 51 | |
| 52 | if (ui) |
| 53 | { |
| 54 | return (ui->insertRawDebuggerOutput(_STR(data))); |
| 55 | } |
| 56 | } |
| 57 | |
| 58 | std::string CtrlrLuaDebugger::dbgRead(std::string prompt) |
| 59 | { |
nothing calls this directly
no test coverage detected