diff --git a/emmy_debugger/src/debugger/hook_state.cpp b/emmy_debugger/src/debugger/hook_state.cpp index aed8a06..9c67b50 100644 --- a/emmy_debugger/src/debugger/hook_state.cpp +++ b/emmy_debugger/src/debugger/hook_state.cpp @@ -98,6 +98,7 @@ void HookStateStepIn::ProcessHook(std::shared_ptr debugger, lua_State* UpdateStackLevel(debugger, L, ar); if (getDebugEvent(ar) == LUA_HOOKLINE) { + lua_getinfo(L, "nSl", ar); auto currentLine = getDebugCurrentLine(ar); auto source = getDebugSource(ar); if(currentLine != line || file != source)