We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 328a375 commit 21dc835Copy full SHA for 21dc835
emmy_debugger/src/emmy_debugger.cpp
@@ -89,14 +89,15 @@ void Debugger::Attach(bool isMainThread)
89
// 对于luajit来讲,没有办法获得他的mainstate(因为luajit没有lua5.2以上的mainstate伪索引,而且头文件在不同平台上要重新生成)
90
// 很难正确的简单知道mainstate,所以mainL 这个变量对luajit并不指代mainState
91
92
- if(luaVersion == LuaVersion::LUA_JIT)
93
- {
94
- int ret = lua_pushthread(mainL);
95
- if(ret != 1)
96
97
- return;
98
- }
99
+ // if(luaVersion == LuaVersion::LUA_JIT)
+ // {
+ // int ret = lua_pushthread(mainL);
+ // lua_pop(mainL, 1);
+ // if(ret != 1)
+ // return;
+ // }
100
101
if (isMainThread)
102
{
103
auto states = FindAllCoroutine(mainL);
0 commit comments