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
OS and version of remote machine (if applicable): N/A
GDB / LLDB version: N/A
Bug Summary and Steps to Reproduce
Bug Summary:
It is possible to put source-server information in the pdb files. (See https://learn.microsoft.com/en-us/windows-hardware/drivers/debugger/the-srcsrv-ini-file)
With this, you can add a link to a git/svn/... server and explain how to get the source code from it.
If you debug in visual studio, it extracts this information from the PDB and asks if you trust the command to download the sources. If you do, you will see the sources as they were stored in the git/svn/... server for that specific revision.
Steps to reproduce:
Create a binary with pdbs and source server info
Run the binary
Make dump file from it (taskmanager)
Open the dump file in VS Code
See that the sources are not loaded.
Debugger Configurations
``
{
"name": "Open Dump File (Windows)",
"type": "cppvsdbg",
"request": "launch",
"dumpPath": "C:/Temp/process.DMP",
"program": "unused field in case of opening dumps, that is required in the json",
"args": [],
"cwd": "${workspaceFolder}",
"environment": [],
"requireExactSource": false,
"symbolOptions": {
"searchPaths": [
"file://servername/directory"
],
"searchMicrosoftSymbolServer": true,
"cachePath": "E:/Cache",
},
"console": "internalConsole",
"logging": {
"exceptions": true,
"programOutput": true,
"moduleLoad": true,
"engineLogging": true,
"trace": true,
"traceResponse": true
}
},
### Debugger Logs
```shell
N/A
Other Extensions
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered:
Environment
Bug Summary and Steps to Reproduce
Bug Summary:
It is possible to put source-server information in the pdb files. (See https://learn.microsoft.com/en-us/windows-hardware/drivers/debugger/the-srcsrv-ini-file)
With this, you can add a link to a git/svn/... server and explain how to get the source code from it.
If you debug in visual studio, it extracts this information from the PDB and asks if you trust the command to download the sources. If you do, you will see the sources as they were stored in the git/svn/... server for that specific revision.
Steps to reproduce:
Debugger Configurations
Other Extensions
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: