You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
sourceFileMap does not work with ${config: settings on v1.100 #248550
Does this issue occur when all extensions are disabled?: No
VS Code Version:
OS Version:
Version: 1.100.0
Commit: 19e0f9e
Date: 2025-05-07T12:48:53.763Z
Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Code/1.100.0 Chrome/132.0.6834.210 Electron/34.5.1 Safari/537.36
Steps to Reproduce:
Workspace with .vscode/settings.json
Workspace with .vscode/launch.json
Use a setting from .vscode/settings.json on the .vscode/launch.jsonsourceFileMap property then get the exception: "Cannot read properties of undefined (reading 'replaceAll')"
Do you see a call stack for the error "Cannot read properties of undefined (reading 'replaceAll')". I assume the call stack is not from our C/C++ extension (which I don't think would be causing this issue if it started with a particular VS Code version).
Do you see a call stack for the error "Cannot read properties of undefined (reading 'replaceAll')". I assume the call stack is not from our C/C++ extension (which I don't think would be causing this issue if it started with a particular VS Code version).
Nope, I checked the developer tools window, but there is no stack only the same message from the popup:
Matheus Castello (@microhobby) I believe VS Code fixes are released the next day in Insiders and otherwise in the next monthly release (1.101.0). Oh...unless there's "patch" fix update (i.e. what you're asking).
So far your report is the only one we've received of folks hitting this issue -- it's a somewhat particular case. If we hear more reports of it we may promote this to a patch fix, but in the interim this is fixed on VS Code Insiders
Here also confirmation of this bug is hitting us using the TorizonCore Extensions and a source file mapping in the launch.json.
Our current workaround is to set the path hardcoded as long the bug is not fixed.
Activity
sean-mcmanus commentedon May 9, 2025
Do you see a call stack for the error
"Cannot read properties of undefined (reading 'replaceAll')". I assume the call stack is not from our C/C++ extension (which I don't think would be causing this issue if it started with a particular VS Code version).microhobby commentedon May 12, 2025
Nope, I checked the developer tools window, but there is no stack only the same message from the popup:
config: fix not resolving out-of-order key resolution
microhobby commentedon May 12, 2025
Connor Peet (@connor4312) could you please inform if this fix will be patched for a
v1.100.1release?sean-mcmanus commentedon May 12, 2025
Matheus Castello (@microhobby) I believe VS Code fixes are released the next day in Insiders and otherwise in the next monthly release (1.101.0). Oh...unless there's "patch" fix update (i.e. what you're asking).
microhobby commentedon May 14, 2025
Sean McManus (@sean-mcmanus) Connor Peet (@connor4312) Megan Rogge (@meganrogge) Ulugbek Abdullaev (@ulugbekna) Ladislau Szomoru (@lszomoru)
I saw that the milestone was set to the May 2025, but this is not great, because I would expect to have a recovery release with this fix. This is clearly a regression that is affecting users. And for now, I'm recommending people to downgrade to
v1.99.connor4312 commentedon May 14, 2025
So far your report is the only one we've received of folks hitting this issue -- it's a somewhat particular case. If we hear more reports of it we may promote this to a patch fix, but in the interim this is fixed on VS Code Insiders
microhobby commentedon May 14, 2025
Connor Peet (@connor4312) The extension https://marketplace.visualstudio.com/items?itemName=Toradex.apollox-vscode creates workspaces with projects that use this to automate build/deploy on embedded devices using containers:
https://github.com/torizon/vscode-torizon-templates/blob/6aaeda4c4efb337aafe92b1b696c0a1e45d4b797/cppConsole/.vscode/launch.json#L138
So, this is used to map the container to the workspace source and match the breakpoints. We are receiving support tickets for this issue. We have released a note about the issue and a workaround. Also, we can make it hard-coded as a workaround until next month, but the great would be to have a recovery release for this.
millerfield commentedon Jun 9, 2025
Here also confirmation of this bug is hitting us using the TorizonCore Extensions and a source file mapping in the
launch.json.Our current workaround is to set the path hardcoded as long the bug is not fixed.
all: Workaround for the issue microsoft/vscode#248550