Skip to content

Extension throwing TypeError: Cannot read properties of undefined (reading 'toString') #691

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
kycutler opened this issue Apr 9, 2025 · 0 comments · Fixed by #692
Closed
Assignees
Labels
needs PR Ready to be worked on
Milestone

Comments

@kycutler
Copy link
Contributor

kycutler commented Apr 9, 2025

We are seeing errors from recent versions of this extension causing our CI to fail. The error is:

Uncaught TypeError: Cannot read properties of undefined (reading 'toString')
at <...>\extensions\ms-python.debugpy-2025.6.0-win32-x64\dist\extension.js:2:849866
at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read/context:52:12)

Tracking down the line/column number shows it is coming from within src/extension/noConfigDebugInit.ts.

I have a PR to fix -- will open shortly.

@github-actions github-actions bot added the triage-needed Needs assignment to the proper sub-team label Apr 9, 2025
@eleanorjboyd eleanorjboyd added needs PR Ready to be worked on and removed triage-needed Needs assignment to the proper sub-team labels May 27, 2025
@eleanorjboyd eleanorjboyd added this to the May 2025 milestone May 27, 2025
@eleanorjboyd eleanorjboyd self-assigned this May 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs PR Ready to be worked on
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants