Fix: Lua script debugging loading problem
Signed-off-by: T.J. McGrath-Daly <tj.mcgrath.daly@huawei.com>
This commit is contained in:
@@ -731,7 +731,7 @@ void AZ::LuaHook(lua_State* l, lua_Debug* ar)
|
|||||||
//}
|
//}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (doBreak)
|
if (doBreak && bp->m_lineNumber > 0)
|
||||||
{
|
{
|
||||||
context->m_luaDebug = ar;
|
context->m_luaDebug = ar;
|
||||||
context->m_breakCallback(context, bp);
|
context->m_breakCallback(context, bp);
|
||||||
|
|||||||
Reference in New Issue
Block a user