Microsoft HoloLens application for HackMIT. Logo Lens presents relevant stock quote data when a user sees a company logo while wearing the HoloLens.
Public documentation for Visual Studio Code
Movie Recommender using Rotten Tomatoes for CS 2340.
bamurtaugh/communication-services-web-calling-hero 0
Hero sample to showcase web calling capabilities for Azure Communication Services
burkeholland/frontend-vue-typescript 0
A Vue/TypeScript frontend for https://www.theurlist.com
Upload app settings to an Azure Static Web Static App
Campus-Advisors/campus-advisor-training-sana-ajani 0
campus-advisor-training-sana-ajani created by GitHub Classroom
HackDuke energy web app
issue commentmicrosoft/vscode
Access to Git server through SSH
It would appear that the function "sanitizeRemoteName" in extensions\git\src\commands.ts needs to be altered.
return name && name.replace(/^.|/.|..|~|^|:|/$|.lock$|.lock/|\|*|\s|^\s*$|.$|[|]$/g, '-');
This needs to be altered so that @ characters also get replaced by hyphens.
comment created time in 8 minutes
issue closedmicrosoft/vscode
Terminal's pty host process is unresponsive. Terminal crashes and Remote SSH disconnected.
<!-- ⚠️⚠️ Do Not Delete This! bug_report_template ⚠️⚠️ --> <!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ --> <!-- 🕮 Read our guide about submitting issues: https://github.com/microsoft/vscode/wiki/Submitting-Bugs-and-Suggestions --> <!-- 🔎 Search existing issues to avoid creating duplicates. --> <!-- 🧪 Test using the latest Insiders build to see if your issue has already been fixed: https://code.visualstudio.com/insiders/ --> <!-- 💡 Instead of creating your report here, use 'Report Issue' from the 'Help' menu in VS Code to pre-fill useful information. -->
- VS Code Version: 1.55.0 (Stable)
- OS Version: Windows 10 21H1 x64
Steps to Reproduce:
- Use VSCode a while or open few VSCode instances close few reopen few. Basically make sure terminal is opened in each instance by default then close.
- Terminal will crash. SSH will disconnect.
Honestly, I wouldn't mind the crashes for terminal but this causes my Remote SSH disconnects from the server and I have to reload all windows one by one. Even local VSCode crashes, all other open windows disconnects if they are connected to a SSH Server.
<!-- 🔧 Launch with code --disable-extensions
to check. -->
Does this issue occur when all extensions are disabled?: Yes
<!-- 🪓 If you answered No above, use 'Help: Start Extension Bisect' from Command Palette to try to identify the cause. --> <!-- 📣 Issues caused by an extension need to be reported direct to the extension publisher. The 'Help > Report Issue' dialog can assist with this. -->
Update
In my case, If I open second VSCode instance i got this error and all SSH sessions are terminated. No need to open few or close few. Just second instance triggers.
And sometimes, I had to restart my Windows because after receiving this error, even If I open 1 (one) instance of VSCode at a time, it stills disconnect from remote and unresponsive terminal error given. So, to be clear, once you get this error, its permanent. Since 2 hours I'm using single VSCode instance but I keep getting same issue every few minutes. I am going insane here.
closed time in 12 minutes
gencerissue commentmicrosoft/vscode
Terminal's pty host process is unresponsive. Terminal crashes and Remote SSH disconnected.
This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!
comment created time in 12 minutes
issue closedmicrosoft/vscode
Garbled characters cannot be avoided
Issue Type: <b>Bug</b>
Open the file, set the encoding to EUC-JP, and type double-byte "~" in Japanese to save. Open it in another code editor (either Atom or sublime text) and If you change from UTF8 to EUC-JP, what is the previous ~? It has changed
VS Code version: Code 1.55.1 (08a217c4d27a02a5bcde898fd7981bda5b49391b, 2021-04-07T18:22:52.186Z) OS version: Darwin x64 18.7.0
<!-- generated by issue reporter -->
closed time in 12 minutes
tomginissue commentmicrosoft/vscode
Garbled characters cannot be avoided
This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!
comment created time in 12 minutes
issue closedmicrosoft/vscode
Ctrl+x doesn't work, right arrow kye goes to end of the line
On Ubuntu 20 Ctrl+x doesn't work, right arrow key goes to end of the line.
closed time in 12 minutes
umbriaissue commentmicrosoft/vscode
Ctrl+x doesn't work, right arrow kye goes to end of the line
This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!
comment created time in 12 minutes
issue closedmicrosoft/vscode
Terminal: code [directory] -r opens in all existing VS Code windows
Hoping for some insight here - not sure if this is expected behavior, or if I'm doing something incorrectly!
- Open two windows of VS Code.
- In the integrated terminal, navigate to another directory and type
code . -r
- Both VS Code windows will open to that directory.
Thank you! Michael
closed time in 12 minutes
mikatptissue commentmicrosoft/vscode
Terminal: code [directory] -r opens in all existing VS Code windows
This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!
comment created time in 12 minutes
issue closedmicrosoft/vscode
Existing Login Form a Flat Responsive Widget Template :: W3layouts
<!-- ⚠️⚠️ Do Not Delete This! bug_report_template ⚠️⚠️ --> <!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ --> <!-- 🕮 Read our guide about submitting issues: https://github.com/microsoft/vscode/wiki/Submitting-Bugs-and-Suggestions --> <!-- 🔎 Search existing issues to avoid creating duplicates. --> <!-- 🧪 Test using the latest Insiders build to see if your issue has already been fixed: https://code.visualstudio.com/insiders/ --> <!-- 💡 Instead of creating your report here, use 'Report Issue' from the 'Help' menu in VS Code to pre-fill useful information. -->
- VS Code Version:
- OS Version:
Steps to Reproduce:
<!-- 🔧 Launch with code --disable-extensions
to check. -->
Does this issue occur when all extensions are disabled?: Yes/No
<!-- 🪓 If you answered No above, use 'Help: Start Extension Bisect' from Command Palette to try to identify the cause. --> <!-- 📣 Issues caused by an extension need to be reported directly to the extension publisher. The 'Help > Report Issue' dialog can assist with this. -->
closed time in 12 minutes
lethanhha778issue closedmicrosoft/vscode
Editor markdown link hover doesn't display correctly
Text: - 
Pasted in via https://marketplace.visualstudio.com/items?itemName=hancel.markdown-image
closed time in 12 minutes
Tyriarissue commentmicrosoft/vscode
Existing Login Form a Flat Responsive Widget Template :: W3layouts
This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!
comment created time in 12 minutes
issue commentmicrosoft/vscode
Editor markdown link hover doesn't display correctly
This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!
comment created time in 12 minutes
issue closedmicrosoft/vscode
There's a bug whenever I move the terminal panel to the right. It keeps printing out the message in red that I need to report this bug.
closed time in 12 minutes
jyoonieissue commentmicrosoft/vscode
This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!
comment created time in 12 minutes
issue closedmicrosoft/vscode
TS Server fatal error: Cannot read property 'charCount' of undefined
Issue Type: <b>Bug</b>
❗️❗️❗️ Please fill in the sections below to help us diagnose the issue ❗️❗️❗️
TypeScript Version: 4.2.3
Steps to reproduce crash 1. 2. 3.
TS Server Log ❗️Server logging disabled. To help us fix crashes like this, please enable logging by setting:
"typescript.tsserver.log": "verbose"
After enabling this setting, future crash reports will include the server log.
TS Server Error Stack
Server: syntax
TypeError: Cannot read property 'charCount' of undefined
at LineNode.walk (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:161682:44)
at LineIndex.edit (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:161570:31)
at ScriptVersionCache._getSnapshot (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:161360:47)
at ScriptVersionCache.lineOffsetToPosition (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:161379:29)
at TextStorage.lineOffsetToPosition (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:152728:33)
at ScriptInfo.lineOffsetToPosition (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:153083:41)
at /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:159088:56
at Object.next (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:629:33)
at ProjectService.applyChangesToFile (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:158044:46)
at ProjectService.applyChangesInOpenFiles (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:158011:30)
at Session.handlers.ts.Map.ts.getEntries._a.<computed> (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:159079:46)
at /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:160963:88
at IOSession.Session.executeWithRequestId (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:160954:28)
at IOSession.Session.executeCommand (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:160963:33)
at IOSession.Session.onMessage (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:160989:35)
at Interface.<anonymous> (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:163650:31)
at Interface.emit (events.js:315:20)
at Interface._onLine (readline.js:329:10)
at Interface._normalWrite (readline.js:474:12)
at Socket.ondata (readline.js:186:10)
at Socket.emit (events.js:315:20)
at addChunk (_stream_readable.js:295:12)
at readableAddChunk (_stream_readable.js:271:9)
at Socket.Readable.push (_stream_readable.js:212:10)
at Pipe.onStreamRead (internal/stream_base_commons.js:186:23)
VS Code version: Code 1.55.1 (08a217c4d27a02a5bcde898fd7981bda5b49391b, 2021-04-07T18:22:52.186Z) OS version: Darwin x64 20.3.0
<details> <summary>System Info</summary>
Item | Value |
---|---|
CPUs | Intel(R) Core(TM) i5-8279U CPU @ 2.40GHz (8 x 2400) |
GPU Status | 2d_canvas: enabled<br>gpu_compositing: enabled<br>metal: disabled_off<br>multiple_raster_threads: enabled_on<br>oop_rasterization: enabled<br>opengl: enabled_on<br>protected_video_decode: unavailable_off<br>rasterization: enabled<br>skia_renderer: disabled_off_ok<br>video_decode: enabled<br>webgl: enabled<br>webgl2: enabled |
Load (avg) | 2, 2, 3 |
Memory (System) | 8.00GB (0.46GB free) |
Process Argv | . --crash-reporter-id 7869fa73-8f5b-4003-b24b-14f2c11f87c8 |
Screen Reader | no |
VM | 0% |
</details><details><summary>Extensions (24)</summary>
Extension | Author (truncated) | Version |
---|---|---|
project-manager | ale | 12.1.0 |
vscode-color | ans | 0.4.5 |
gitignore | cod | 0.6.0 |
bracket-pair-colorizer | Coe | 1.0.61 |
vscode-eslint | dba | 2.1.19 |
git-extension-pack | don | 0.1.3 |
githistory | don | 0.6.16 |
gitlens | eam | 11.4.0 |
vscode-html-css | ecm | 1.10.2 |
vscode-npm-script | eg2 | 0.3.20 |
prettier-vscode | esb | 6.3.2 |
auto-rename-tag | for | 0.1.6 |
terminal | for | 0.0.10 |
beautify | Hoo | 1.5.0 |
rest-client | hum | 0.24.5 |
vscode-styled-components | jpo | 1.5.0 |
vscode-language-pack-ko | MS- | 1.55.2 |
indent-rainbow | ode | 7.5.0 |
material-icon-theme | PKi | 4.6.0 |
vscode-css-peek | pra | 4.1.3 |
LiveServer | rit | 5.6.1 |
autoimport | ste | 1.5.3 |
ReactSnippets | xab | 2.4.0 |
vscode-open-in-github | ziy | 1.3.6 |
</details><details> <summary>A/B Experiments</summary>
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvsdeb440:30248342
pythonvsded773:30248341
vstes627cf:30244335
pythonvspyt875:30259475
pythonvsnew554:30281908
pythontb:30283811
wslfolderdoccf:30282075
vspre833:30267464
pythonptprofiler:30281270
vshan820cf:30276953
pythondataviewer:30285071
vscus158cf:30286554
</details>
<!-- generated by issue reporter -->
closed time in 12 minutes
kimdabeebissue commentmicrosoft/vscode
TS Server fatal error: Cannot read property 'charCount' of undefined
This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!
comment created time in 12 minutes
issue closedmicrosoft/vscode
input from file for debug code option in palette
if you add an option below for enter input file location for input or debug argument for the compiler it help the debug code for for getting the output it help the lot of competitive programmer for the debugging the code for passing the test cases
freopen("input.txt", "r" , stdin); if only for the getting input from file only during running but when we talk about debug it create big problem when input is large
closed time in 12 minutes
Navin009issue commentmicrosoft/vscode
input from file for debug code option in palette
This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!
comment created time in 12 minutes
issue openedmicrosoft/vscode
Terminal Profiles not showing up properly
Version: 1.55.2 (user setup) Commit: 3c4e3df9e89829dce27b7b5c24508306b151f30d Date: 2021-04-13T09:37:00.942Z Electron: 11.3.0 Chrome: 87.0.4280.141 Node.js: 12.18.3 V8: 8.7.220.31-electron.0 OS: Windows_NT ia32 6.1.7601
Steps to Reproduce:
- Don't know
Does this issue occur when all extensions are disabled?: Don't know, probably yes
Actual Problem
Well, I have set up a few profiles in my settings(screenshot below), but in the integrated terminal, different profiles show up(screenshot below)! Please fix this!
Screenshots
P.S. - The terminal profiles feature is awesome BTW! :joy:
created time in 13 minutes
issue commentmicrosoft/vscode-azurestorage
UnexpectedQuit when using it with WSL
Can confirm reproducible in Ubuntu 20.04. Only occurs in WSL 2. It was working correctly in WSL 1 before I upgraded to 2.
comment created time in 14 minutes
issue commentmicrosoft/TypeScript
`unknown` isn’t narrowed by assignment
I my opinion you are confused about unknown
. If you see https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-0.html#new-unknown-top-type you can read:
Anything is assignable to unknown, but unknown isn’t assignable to anything but itself and any without a type assertion or a control flow based narrowing. Likewise, no operations are permitted on an unknown without first asserting or narrowing to a more specific type.
In your case you can use any
to say I support any
value. And then all works!
function f(request: {params: {[param: string]: any;}}) {
let x = request.params.x;
try {
x = validate(x);
} catch (e) {}
try {
takesString(x); // Fails to compile, x is of type unknown.
} catch (e) {}
}
function validate(x: any): string { return ""; }
function takesString(s: string) {}
Look at Playground
comment created time in 15 minutes
issue commentmicrosoft/vscode
Cannot set cell language via ui
(Experimental duplicate detection) Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:
- onDidChangeNotebookAssociation not fired on initial notebook open (#121904) <!-- score: 0.657 -->
- Webview post messages are not posted to the notebook controller (#121895) <!-- score: 0.518 --> <!-- potential_duplicates_comment -->
comment created time in 16 minutes
issue openedmicrosoft/vscode
Cannot set cell language via ui
<!-- ⚠️⚠️ Do Not Delete This! bug_report_template ⚠️⚠️ --> <!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ --> <!-- 🕮 Read our guide about submitting issues: https://github.com/microsoft/vscode/wiki/Submitting-Bugs-and-Suggestions --> <!-- 🔎 Search existing issues to avoid creating duplicates. --> <!-- 🧪 Test using the latest Insiders build to see if your issue has already been fixed: https://code.visualstudio.com/insiders/ --> <!-- 💡 Instead of creating your report here, use 'Report Issue' from the 'Help' menu in VS Code to pre-fill useful information. --> Version: 1.56.0-insider (user setup) Commit: 7ce1499d9541ba2acf66cd30a9054bd7818a8f80 Date: 2021-04-22T05:13:14.711Z Electron: 12.0.4 Chrome: 89.0.4389.114 Node.js: 14.16.0 V8: 8.9.255.24-electron.0 OS: Windows_NT x64 10.0.19042
Steps to Reproduce:
- Clone pr dotnet/interactive#1286
- Go to folder src/dotnet-interactive-vscode/nsiders adn open with VSCode insiders
- Launch debugger
- Open .ipynb notebook
- Select a cell and try to change cell language using the mouse
The selector will flash on screen, can set the language for the selected cell only using the command palette
<!-- 🔧 Launch with code --disable-extensions
to check. -->
Does this issue occur when all extensions are disabled?: Yes/No
<!-- 🪓 If you answered No above, use 'Help: Start Extension Bisect' from Command Palette to try to identify the cause. --> <!-- 📣 Issues caused by an extension need to be reported directly to the extension publisher. The 'Help > Report Issue' dialog can assist with this. -->
created time in 16 minutes
issue openedmicrosoft/vscode
opening folder with "code --reuse-window ." command effects all open windows
Issue Type: <b>Bug</b>
- Open
project1
in vscode - Open
project2
in vscode - In the integrated terminal of vscode project2 run command
code --reuse-window ../project3
Expected behaviour:
Window that was project2
should now have project3
open.
Actual Result:
All vscode windows change to have project3
open.
Possibly related to #118718
VS Code version: Code 1.55.2 (3c4e3df9e89829dce27b7b5c24508306b151f30d, 2021-04-13T09:35:57.887Z) OS version: Windows_NT x64 10.0.19042 Remote OS version: Linux x64 5.4.0-48-generic Remote OS version: Linux x64 5.4.0-48-generic
<details> <summary>System Info</summary>
Item | Value |
---|---|
CPUs | Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz (12 x 2592) |
GPU Status | 2d_canvas: enabled<br>gpu_compositing: enabled<br>multiple_raster_threads: enabled_on<br>oop_rasterization: enabled<br>opengl: enabled_on<br>protected_video_decode: enabled<br>rasterization: enabled<br>skia_renderer: enabled_on<br>video_decode: enabled<br>vulkan: disabled_off<br>webgl: enabled<br>webgl2: enabled |
Load (avg) | undefined |
Memory (System) | 15.75GB (7.22GB free) |
Process Argv | -n --crash-reporter-id 0d0b1ade-99e4-4fbe-bb6a-11c2df9f1a81 |
Screen Reader | no |
VM | 0% |
Item | Value |
---|---|
Remote | SSH: brokkr |
OS | Linux x64 5.4.0-48-generic |
CPUs | Intel(R) Xeon(R) Gold 5120 CPU @ 2.20GHz (4 x 2194) |
Memory (System) | 7.75GB (0.55GB free) |
VM | 17% |
Item | Value |
---|---|
Remote | SSH: brokkr |
OS | Linux x64 5.4.0-48-generic |
CPUs | Intel(R) Xeon(R) Gold 5120 CPU @ 2.20GHz (4 x 2194) |
Memory (System) | 7.75GB (0.55GB free) |
VM | 17% |
</details><details><summary>Extensions (28)</summary>
Extension | Author (truncated) | Version |
---|---|---|
vsc-material-theme | Equ | 33.1.2 |
vsc-material-theme-icons | equ | 1.2.2 |
remote-ssh | ms- | 0.65.4 |
remote-ssh-edit | ms- | 0.65.4 |
env-cmd-file-syntax | Nix | 0.2.2 |
swagger-viewer | Arj | 3.0.1 |
atlascode | atl | 2.8.6 |
gitignore | cod | 0.6.0 |
vscode-markdownlint | Dav | 0.40.3 |
gitlens | eam | 11.4.1 |
pipenv-scripts | Fed | 1.0.3 |
rest-client | hum | 0.24.5 |
git-graph | mhu | 1.30.0 |
python | ms- | 2021.4.765268190 |
jupyter | ms- | 2021.5.745244803 |
vsliveshare | ms- | 1.0.4131 |
vsliveshare-audio | ms- | 0.1.91 |
vsliveshare-pack | ms- | 0.4.0 |
autodocstring | njp | 0.5.4 |
open-in-new-window | ona | 1.0.0 |
vscode-yaml | red | 0.18.0 |
rust | rus | 0.7.8 |
vscode-coverage-gutters | rya | 2.7.2 |
file-tree-generator | Shi | 1.1.1 |
markdowntable | Tak | 0.5.1 |
serverless-ide-vscode | Thr | 0.5.31 |
shellcheck | tim | 0.14.1 |
markdown-all-in-one | yzh | 3.4.0 |
(1 theme extensions excluded)
</details><details> <summary>A/B Experiments</summary>
vsliv368:30146709
vsreu685:30147344
python383:30185418
pythonvspyt678:30270856
pythonvspyt602:30291499
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstry914:30276682
pythonvsdeb440:30248342
pythonvsded773:30248341
pythonvspyt875:30259475
pythonvspyt639:30291489
pythontb:30283811
pythonvspyt551cf:30291415
vspre833cf:30267465
pythonptprofiler:30281270
vsdfh931cf:30280410
vshan820:30276952
pythondataviewer:30285071
vscus158cf:30286554
</details>
<!-- generated by issue reporter -->
created time in 17 minutes
issue commentmicrosoft/vscode
Allow for transparent / vibrant window theme
sergeysovacomment created time in 20 minutes
issue commentmicrosoft/vscode
I am also having the same problem, however only when using the terminal over Remote SSH.
comment created time in 22 minutes
push eventmicrosoft/vscode
commit sha 1df9d8902c17d3e6d0ecb13ea621566faae69e0b
send controller selection event when selection knowledge is restored from memento, https://github.com/microsoft/vscode/issues/121904
push time in 24 minutes
issue commentmicrosoft/vscode
terminal.integrated.splitCwd="inherited" is not working on mac
Seems to have been fixed in latest insiders.
comment created time in 30 minutes
issue openedmicrosoft/vscode-remote-release
sourceFileMap not working when using WSL
When debugging using gdb, on WSL ubuntu, I get this error :
Unable to open 'ioputs.c': Unable to read file 'vscode-remote://wsl+ubuntu/build/glibc-eX1tMB/glibc-2.31/libio/ioputs.c' (Error: Unable to resolve non-existing file 'vscode-remote://wsl+ubuntu/build/glibc-eX1tMB/glibc-2.31/libio/ioputs.c').
It get this error even with sourceFileMap defined below.
I can make debugging work if I copy the full "/usr/src/glibc/glibc-2.31" directory into "/build/glibc-eX1tMB/".
So it seems that the "sourceFileMap" does not work here.
I first add an issue for the C/C++ extension, but a comment mentioned that it could be an issue with vscode remote : https://github.com/microsoft/vscode-cpptools/issues/7389
{
"name": "(gdb) Launch",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}//${fileBasenameNoExtension}",
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"miDebuggerPath": "/usr/bin/gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
],
"sourceFileMap": {
"/build/glibc-eX1tMB": "/usr/src/glibc"
},
},
OS and Version: Windows 10
VS Code Version: 1.55.2
C/C++ Extension Version: v1.3.0
created time in 33 minutes