Skip to content

Error when trying to run QEMU (VSC-1260) #1096

Closed
@dyarkovoy

Description

OS

Windows

Operating System version

Microsoft Windows [Version 10.0.22631.2715]

Visual Studio Code version

1.85.0

ESP-IDF version

v5.1.2,master

Python version

3.11.3

Doctor command output

not applicable

Extension

No response

Description

I get this error when trying to run QEMU from the extension:

Cannot read properties of undefined (reading 'curWorkspace')

The problem is on this line

this is undefined in a function.

The following change is proposed to solve the issue:

-  (w) => w.uri === this.curWorkspace
+  (w) => w.uri === wsFolder

Debug Message

not relevant

Other Steps to Reproduce

No response

I have checked existing issues, online documentation and the Troubleshooting Guide

  • I confirm I have checked existing issues, online documentation and Troubleshooting guide.

Metadata

Assignees

No one assigned

    Labels

    bug-reportBug Report from users on Github (don't use this tag manually, its supposed to be used via the issue)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions