Skip to content

Commit

Permalink
fix: debug command's switch
Browse files Browse the repository at this point in the history
  • Loading branch information
ShrBox committed Jan 23, 2024
1 parent f45890b commit 1c6e7ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/BuiltinCommands.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ bool ProcessDebugEngine(const std::string& cmd) {
if (isInConsoleDebugMode) {
EngineScope enter(debugEngine);
try {
if (cmd == "stop") {
if (cmd == "stop" || cmd == LLSE_DEBUG_CMD) {
return true;
} else {
auto result = debugEngine->eval(cmd);
Expand Down

0 comments on commit 1c6e7ba

Please sign in to comment.