### Godot version

v4.0.rc1.official [8843d9ad3]

### System information

Windows 11 Pro 64Bit

### Issue description

Hi,

Found a rather annoying bug in 4.0 RC1 official on Windows 11:
When right clicking on a function in code and selecting "Lookup Symbol" - it does not always work?
Sometimes it works, sometimes it does not work?

Any ideas?

Jesse

### Steps to reproduce

Right click on a function in code and select "Lookup Symbol".
(it does not work always?)

### Minimal reproduction project

N.A.
if (_debug_parse_err_line >= 0) {
		return;
	}
	ERR_FAIL_INDEX(p_level, _debug_call_stack_pos);
	int l = _debug_call_stack_pos - p_level - 1;
	GDScriptInstance *instance = _call_stack[l].instance;
	if (!instance) {
		return;
	}
	Ref<GDScript> scr = instance->get_script();
	ERR_FAIL_COND(scr.is_null());
	const HashMap<StringName, GDScript::MemberInfo> &mi = scr->debug_get_member_indices();
	for (const KeyValue<StringName, GDScript::MemberInfo> &E : mi) {
		p_members->push_back(E.key);
		p_values->push_back(instance->debug_get_member_by_index(E.value.index));
	}
}
ScriptInstance *GDScriptLanguage::debug_get_stack_level_instance(int p_level) {