| 660 | } |
| 661 | |
| 662 | void ContextDebugger::OnGenericError(char const* msg) |
| 663 | { |
| 664 | if (breakOnGenericError_) { |
| 665 | LuaVirtualPin lua(GetExtensionState()); |
| 666 | if (lua) { |
| 667 | TriggerBreakpoint(lua->GetState(), BkBreakpointTriggered::EXCEPTION, msg); |
| 668 | } |
| 669 | } |
| 670 | } |
| 671 | |
| 672 | void ContextDebugger::DebugBreak(lua_State* L) |
| 673 | { |
no test coverage detected