MCPcopy Create free account
hub / github.com/Norbyte/bg3se / OnGenericError

Method OnGenericError

BG3Extender/Lua/Debugger/LuaDebugger.cpp:662–670  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers 1

LogOsirisErrorMethod · 0.80

Calls 2

GetStateMethod · 0.80
GetServerMethod · 0.80

Tested by

no test coverage detected