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
"justMyCode": true" isn't not workig - VSCode Remote debugger session tries to open library code which isn't found #6232
VSCode Version: 1.49.1
C/C++ Version: 1.0.1
Local OS Version: Windows 10 19041
Remote OS Version: Ubuntu 20.04.1
Remote Extension/Connection Type: WSL
Steps to Reproduce:
Start a VS Code session and build hello world sample using printf.
Launch the debug session and "Step Into" the printf function. The following error will appear and you'll be unable to move further until you press "Step Out":
Unable to open 'printf.c': Unable to read file 'vscode-remote://wsl+ubuntu-20.04/build/glibc-ZN95T4/glibc-2.31/stdio-common/printf.c' (Error: Unable to resolve non-existing file 'vscode-remote://wsl+ubuntu-20.04/build/glibc-ZN95T4/glibc-2.31/stdio-common/printf.c').
I've tried adding the "justMyCode": true" in launch.json, but the debugger still acts weird on the library code and tries to find source code (which isn't present). Then gives the same error (mentioned above) that unable to open etc.
I just want to don't jump into the library code. Is there a way to do this?
Activity
WardenGnaw commentedon Sep 30, 2020
Just My Code is not supported yet in the Cpptools extension.
Duplicate of #5763