From 3c05ea0edf7b17ebcd0a364c8b92bbade0e0ed89 Mon Sep 17 00:00:00 2001 From: Christopher Dwyer-Perkins Date: Thu, 23 Jan 2025 20:32:02 -0400 Subject: [PATCH] Fixed issue looking up primitive variables on hover --- src/adapters/customVariableUtils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/adapters/customVariableUtils.ts b/src/adapters/customVariableUtils.ts index 1899e180..0bb9078d 100644 --- a/src/adapters/customVariableUtils.ts +++ b/src/adapters/customVariableUtils.ts @@ -9,7 +9,7 @@ import type { DebugProtocolAdapter, EvaluateContainer } from './DebugProtocolAda */ export async function insertCustomVariables(adapter: DebugProtocolAdapter, expression: string, container: EvaluateContainer): Promise { if (semver.satisfies(adapter?.activeProtocolVersion, '<3.3.0')) { - if (container?.value?.startsWith('roSGNode')) { + if (container?.type?.startsWith('roSGNode')) { let nodeChildren = { name: '$children', type: 'roArray',