Skip to content

Debugging with symbols from searchPath is not working #8891

@wiezykrwi

Description

@wiezykrwi

Type: Bug

Issue Description

We had set up a symbol server, using visual studio debugging works fine.
In vscode I have set these settings:

"name": ".NET Core Attach",
"type": "coreclr",
"request": "attach",
"justMyCode": true,
"sourceFileMap": {
"Build server path":"Local path"
},
"symbolOptions": {
"searchPaths": [
"//Symbols/Dotnet"
],
"searchMicrosoftSymbolServer": false,
"searchNuGetOrgSymbolServer": false,
"cachePath": "E:/SymbolCache",
"moduleFilter": {
"mode": "loadAllButExcluded",
"excludedModules": []
}
}

But it fails to find the correct symbols.

Steps to Reproduce

Start process
Attach debugger

Expected Behavior

Symbols are loaded

Actual Behavior

Loaded 'my.dll'. Cannot find or open the PDB file.

Extension version: 2.110.4
VS Code version: Code 1.108.0 (94e8ae2b28cb5cc932b86e1070569c4463565c37, 2026-01-08T13:53:10.781Z)
OS version: Windows_NT x64 10.0.20348
Modes:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions