SimTargetExecutor.exe has triggered a breakpoint at Lua(ILuaEx_GetField) | developer.brewmp.com SimTargetExecutor.exe has triggered a breakpoint at Lua(ILuaEx_GetField) | developer.brewmp.com

Developer

SimTargetExecutor.exe has triggered a breakpoint at Lua(ILuaEx_GetField)

Forums:

Hi, Chris

I met an error about Lua : ILuaEx_GetField

simulator show:
SimTargetExecutor.exe has triggered a breakpoint

code:
//when run about 20 times, it will crash at:
void magic_GameRun(ILuaEx * L)
{
boolean bValue;
ILuaEx_GetGlobal(L, "mgc");
ILuaEx_IsNil(L, -1,&bValue);
if(bValue) return ;//ILuaEx_Error(L);

ILuaEx_GetField(L, -1, "run"); --------------------- error here
ILuaEx_IsNil(L, -1,&bValue);
if(bValue) return ;//ILuaEx_Error(L);
Yeti_call(L,0, 0);

But before I update the Brew MP SDK 7.6, it works OK. Is there any changes about lua library in the new release?

information:
VS2008
Brew MP SDK 7.6

thanks