Skip to content

Commit e4bed6e

Browse files
committed
Revert "feat: Extend queryHelper condition to include all lua types"
This reverts commit 15925a9.
1 parent 15925a9 commit e4bed6e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

emmy_debugger/src/debugger/emmy_debugger.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -371,9 +371,7 @@ void Debugger::GetVariable(lua_State *L, Idx<Variable> variable, int index, int
371371
variable->valueType = type;
372372

373373

374-
if (queryHelper && (type == LUA_TTABLE || type == LUA_TUSERDATA || type == LUA_TFUNCTION
375-
|| type == LUA_TSTRING || type == LUA_TNUMBER || type == LUA_TLIGHTUSERDATA || type == LUA_TTHREAD
376-
|| type == LUA_TNONE || type == LUA_TNIL || type == LUA_TBOOLEAN)) {
374+
if (queryHelper && (type == LUA_TTABLE || type == LUA_TUSERDATA || type == LUA_TFUNCTION)) {
377375
if (manager->extension.QueryVariable(L, variable, typeName, index, depth)) {
378376
return;
379377
}

0 commit comments

Comments
 (0)