mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-04-20 09:28:52 +00:00
allow evaluating cvars on hover
This commit is contained in:
parent
c8c576505f
commit
5b85d4bad1
1 changed files with 1 additions and 1 deletions
|
@ -669,7 +669,7 @@ dap::ResponseOrError<dap::EvaluateResponse> ZScriptDebugger::Evaluate(const dap:
|
|||
RETURN_DAP_ERROR(StringFormat("Could not serialize variable %s", request.expression.c_str()).c_str());
|
||||
}
|
||||
// cvars?
|
||||
if (!found && context != "hover" && context != "variables" && !TryPath(StringFormat("%s.%s.%s", frameNodePath.c_str(), StackFrameStateNode::CVAR_SCOPE_NAME, request.expression.c_str()))){
|
||||
if (!found && context != "variables" && !TryPath(StringFormat("%s.%s.%s", frameNodePath.c_str(), StackFrameStateNode::CVAR_SCOPE_NAME, request.expression.c_str()))){
|
||||
RETURN_DAP_ERROR(StringFormat("Could not serialize variable %s", request.expression.c_str()).c_str());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue