Type: Bug
Issue Description
In C# Extension version 2.160.4 (and using latest VS Code version - 1.140.0), the debugger running in a containerized app will fail to stop at breakpoints. Checking debugger logging reveals that the request to establish the breakpoints is in an invalid format. Note that reverting to an earlier C# Extension version solves this issue (tested reverting to 2.140.9).
Steps to Reproduce
- Install C# Extension version 2.16.4.
- Create a blank service app using: dotnet new service -n {serviceName}
- Open VS Code and open the folder for the newly created service app.
- Set a breakpoint on the line in Worker.cs that performs the logging (should be line 11 by default).
- Open command palette using Ctrl + Shift + P
- Run the command "Containers: Add Docker Files to Workspace". Choose .NET: Console and add compose files options.
- In the terminal run "docker compose -f compose.debug.yaml build"
- In the terminal run "docker compose -f compose.debug.yaml up -d"
- In the Debug tab in VS Code select the dropdown menu for the debug configurations and select "Add Configuration..."
- Add the "Containers .NET Attach (Preview)" configuration
- Start a debugging session using the "Containers .NET Attach (Preview)" configuration and select your running container.
The debugger will attach successfully, but the breakpoint will not be hit.
Expected Behavior
The debugger should pause all threads when execution reaches a breakpoint.
Actual Behavior
Breakpoints are ignored.
Extension version: 2.160.4
VS Code version: Code 1.140.0 (07f806f999227108933c2e30515b26eecc1fda74, 2026-09-30T10:38:38+02:00)
OS version: Windows_NT x64 10.0.26300
Modes:
Logs
C# log
Details
2026-10-06 17:15:33.028 [info] Installing C# dependencies...
2026-10-06 17:15:33.029 [info]
2026-10-06 17:15:33.029 [info] Platform: win32, x86_64
2026-10-06 17:15:33.029 [info]
2026-10-06 17:15:33.029 [info] Downloading package 'Language server for Roslyn Copilot integration'
2026-10-06 17:15:33.613 [info] (47 KB)
2026-10-06 17:15:33.613 [info] .......
2026-10-06 17:15:33.714 [info] .......
2026-10-06 17:15:33.714 [info] ......
2026-10-06 17:15:33.715 [info] Done!
2026-10-06 17:15:33.715 [info] Validating download...
2026-10-06 17:15:33.716 [info] Integrity Check succeeded.
2026-10-06 17:15:33.716 [info] Installing package 'Language server for Roslyn Copilot integration'
2026-10-06 17:15:33.716 [info]
2026-10-06 17:15:33.731 [info] Downloading package 'VSWebAssemblyBridge (Platform Agnostic)'
2026-10-06 17:15:34.283 [info] (4590 KB)
2026-10-06 17:15:34.284 [info] .
2026-10-06 17:15:34.345 [info]
2026-10-06 17:15:34.413 [info]
2026-10-06 17:15:34.507 [info]
2026-10-06 17:15:34.640 [info]
2026-10-06 17:15:34.715 [info] .
2026-10-06 17:15:34.808 [info]
2026-10-06 17:15:34.906 [info]
2026-10-06 17:15:34.981 [info]
2026-10-06 17:15:35.074 [info]
2026-10-06 17:15:35.112 [info] .
2026-10-06 17:15:35.182 [info]
2026-10-06 17:15:35.245 [info]
2026-10-06 17:15:35.374 [info]
2026-10-06 17:15:35.473 [info]
2026-10-06 17:15:35.548 [info] .
2026-10-06 17:15:35.648 [info]
2026-10-06 17:15:35.713 [info]
2026-10-06 17:15:35.841 [info]
2026-10-06 17:15:35.941 [info]
2026-10-06 17:15:36.146 [info] .
2026-10-06 17:15:36.339 [info]
2026-10-06 17:15:36.439 [info]
2026-10-06 17:15:36.612 [info]
2026-10-06 17:15:36.873 [info]
2026-10-06 17:15:37.006 [info] .
2026-10-06 17:15:37.246 [info]
2026-10-06 17:15:37.341 [info]
2026-10-06 17:15:37.378 [info]
2026-10-06 17:15:37.444 [info]
2026-10-06 17:15:37.510 [info] .
2026-10-06 17:15:37.577 [info]
2026-10-06 17:15:37.614 [info]
2026-10-06 17:15:37.680 [info]
2026-10-06 17:15:38.681 [info]
2026-10-06 17:15:38.945 [info] .
2026-10-06 17:15:39.310 [info]
2026-10-06 17:15:39.645 [info]
2026-10-06 17:15:39.879 [info]
2026-10-06 17:15:40.110 [info]
2026-10-06 17:15:40.542 [info] .
2026-10-06 17:15:40.748 [info]
2026-10-06 17:15:41.114 [info]
2026-10-06 17:15:41.473 [info]
2026-10-06 17:15:41.712 [info]
2026-10-06 17:15:42.041 [info] .
2026-10-06 17:15:42.764 [info]
2026-10-06 17:15:42.765 [info]
2026-10-06 17:15:42.941 [info]
2026-10-06 17:15:43.211 [info]
2026-10-06 17:15:43.346 [info] .
2026-10-06 17:15:43.410 [info]
2026-10-06 17:15:43.445 [info]
2026-10-06 17:15:43.510 [info]
2026-10-06 17:15:43.578 [info]
2026-10-06 17:15:43.607 [info] .
2026-10-06 17:15:43.735 [info]
2026-10-06 17:15:43.964 [info]
2026-10-06 17:15:43.964 [info]
2026-10-06 17:15:43.964 [info]
2026-10-06 17:15:43.980 [info] .
2026-10-06 17:15:44.079 [info]
2026-10-06 17:15:44.139 [info]
2026-10-06 17:15:44.177 [info]
2026-10-06 17:15:44.246 [info]
2026-10-06 17:15:44.343 [info] .
2026-10-06 17:15:44.443 [info]
2026-10-06 17:15:44.511 [info]
2026-10-06 17:15:44.641 [info]
2026-10-06 17:15:44.715 [info]
2026-10-06 17:15:44.781 [info] .
2026-10-06 17:15:44.846 [info]
2026-10-06 17:15:44.975 [info]
2026-10-06 17:15:45.048 [info]
2026-10-06 17:15:45.148 [info]
2026-10-06 17:15:45.706 [info] .
2026-10-06 17:15:45.847 [info]
2026-10-06 17:15:45.914 [info]
2026-10-06 17:15:46.015 [info]
2026-10-06 17:15:46.074 [info]
2026-10-06 17:15:46.148 [info] .
2026-10-06 17:15:46.276 [info]
2026-10-06 17:15:46.343 [info]
2026-10-06 17:15:46.443 [info]
2026-10-06 17:15:46.510 [info]
2026-10-06 17:15:46.546 [info] .
2026-10-06 17:15:46.640 [info]
2026-10-06 17:15:46.710 [info]
2026-10-06 17:15:46.773 [info]
2026-10-06 17:15:46.839 [info]
2026-10-06 17:15:46.881 [info] .
2026-10-06 17:15:46.943 [info]
2026-10-06 17:15:46.974 [info]
2026-10-06 17:15:47.041 [info]
2026-10-06 17:15:47.107 [info]
2026-10-06 17:15:47.147 [info] .
2026-10-06 17:15:47.210 [info]
2026-10-06 17:15:47.247 [info]
2026-10-06 17:15:47.343 [info]
2026-10-06 17:15:47.381 [info]
2026-10-06 17:15:47.414 [info] Done!
2026-10-06 17:15:47.416 [info] Validating download...
2026-10-06 17:15:47.416 [info] Integrity Check succeeded.
2026-10-06 17:15:47.416 [info] Installing package 'VSWebAssemblyBridge (Platform Agnostic)'
2026-10-06 17:15:47.416 [info]
2026-10-06 17:15:47.530 [info] Finished
2026-10-06 17:15:47.530 [info]
2026-10-06 17:15:47.638 [info] Locating .NET runtime version 10.0.5
2026-10-06 17:15:47.709 [info] Dotnet path: C:\Program Files\dotnet\dotnet.exe
2026-10-06 17:15:47.709 [info] Activating C# + C# Dev Kit...
2026-10-06 17:15:47.914 [info] info: Program[0]
2026-10-06 17:15:47.915 [info] Server information:
2026-10-06 17:15:47.915 [info] info: Program[0]
2026-10-06 17:15:47.915 [info] Assembly informational version: 5.12.0-1.26452.1+e42c0e42e89e41522593d0816707e71781ecbee2
2026-10-06 17:15:47.915 [info] info: Program[0]
2026-10-06 17:15:47.916 [info] Executable path: c:\Users\thelo\.vscode\extensions\ms-dotnettools.csharp-2.160.4-win32-x64\.roslyn\Microsoft.CodeAnalysis.LanguageServer.exe
2026-10-06 17:15:47.916 [info] info: Program[0]
2026-10-06 17:15:47.916 [info] Process ID: 21380
2026-10-06 17:15:48.502 [info] info: Program[0]
2026-10-06 17:15:48.502 [info] Monitoring client process 5860 for exit
2026-10-06 17:15:48.502 [info] info: Program[0]
2026-10-06 17:15:48.503 [info] Language server initialized
2026-10-06 17:15:49.259 [info] [initialized] [Microsoft.CodeAnalysis.LanguageServer.FileBasedPrograms.FileBasedProgramsEntryPointDiscovery] Finished discovery in 'c:\Users\thelo\source\repos\WebServerContainerTest' in 8 milliseconds
2026-10-06 17:15:49.306 [info] [Razor.LanguageClient.Cohost.RazorCohostDynamicRegistrationService] Requesting 27 Razor cohost registrations.
2026-10-06 17:15:49.317 [info] [initialized] [Razor] Razor extension startup finished.
2026-10-06 17:15:51.378 [info] [WorkspaceProjectFactoryService] Project C:\Users\thelo\source\repos\WebServerContainerTest\WebServerContainerTest.csproj loaded by C# Dev Kit
2026-10-06 17:17:16.793 [error] Failed to show C# Copilot Chat survey prompt Canceled
2026-10-06 17:17:18.273 [info] C# Extension activated in limited mode due to workspace trust not being granted.
2026-10-06 17:18:35.112 [info] Locating .NET runtime version 10.0.5
2026-10-06 17:18:35.370 [info] Dotnet path: C:\Program Files\dotnet\dotnet.exe
2026-10-06 17:18:35.370 [info] Activating C# + C# Dev Kit...
2026-10-06 17:18:35.717 [info] info: Program[0]
2026-10-06 17:18:35.717 [info] Server information:
2026-10-06 17:18:35.717 [info] info: Program[0]
2026-10-06 17:18:35.717 [info] Assembly informational version: 5.12.0-1.26452.1+e42c0e42e89e41522593d0816707e71781ecbee2
2026-10-06 17:18:35.717 [info] info: Program[0]
2026-10-06 17:18:35.717 [info] Executable path: c:\Users\thelo\.vscode\extensions\ms-dotnettools.csharp-2.160.4-win32-x64\.roslyn\Microsoft.CodeAnalysis.LanguageServer.exe
2026-10-06 17:18:35.717 [info] info: Program[0]
2026-10-06 17:18:35.717 [info] Process ID: 9740
2026-10-06 17:18:36.155 [info] info: Program[0]
2026-10-06 17:18:36.156 [info] Monitoring client process 5064 for exit
2026-10-06 17:18:36.156 [info] info: Program[0]
2026-10-06 17:18:36.156 [info] Language server initialized
2026-10-06 17:18:36.898 [info] [initialized] [Microsoft.CodeAnalysis.LanguageServer.FileBasedPrograms.FileBasedProgramsEntryPointDiscovery] Finished discovery in 'c:\Users\thelo\source\repos\ContainerDebugTest' in 8 milliseconds
2026-10-06 17:18:36.933 [info] [Razor.LanguageClient.Cohost.RazorCohostDynamicRegistrationService] Requesting 27 Razor cohost registrations.
2026-10-06 17:18:36.961 [info] [initialized] [Razor] Razor extension startup finished.
2026-10-06 17:18:37.627 [info] [textDocument/_vs_getProjectContexts] [Microsoft.CodeAnalysis.MSBuild.BuildHostProcessManager] .NET BuildHost started from c:\Users\thelo\.vscode\extensions\ms-dotnettools.csharp-2.160.4-win32-x64\.roslyn\Microsoft.CodeAnalysis.LanguageServer.exe reloading to start from C:\Program Files\dotnet\dotnet.exe to match necessary SDK location.
2026-10-06 17:18:38.537 [warning] [textDocument/_vs_getProjectContexts] [FileBasedProgramsProjectSystem] Project C:\Users\thelo\AppData\Local\Temp\roslyn-canonical-misc\816300c5-7c3d-43e7-96ca-95be2be1391c\Canonical.csproj has unresolved dependencies
2026-10-06 17:18:38.651 [info] [textDocument/_vs_getProjectContexts] [FileBasedProgramsProjectSystem] Successfully completed load of c:\Users\thelo\source\repos\ContainerDebugTest\Program.cs
2026-10-06 17:18:38.651 [info] [textDocument/_vs_getProjectContexts] [FileBasedProgramsProjectSystem] Completed (re)load of 1 project(s) in 00:00:01.3044858
2026-10-06 17:18:38.661 [info] [textDocument/_vs_getProjectContexts] [FileBasedProgramsProjectSystem] Restoring Canonical.csproj: Running dotnet restore on C:\Users\thelo\AppData\Local\Temp\roslyn-canonical-misc\816300c5-7c3d-43e7-96ca-95be2be1391c\Canonical.csproj
2026-10-06 17:18:38.661 [info] [textDocument/_vs_getProjectContexts] [.NET CLI Helper] Using dotnet executable configured on the PATH
2026-10-06 17:18:38.899 [info] [WorkspaceProjectFactoryService] Project C:\Users\thelo\source\repos\ContainerDebugTest\ContainerDebugTest.csproj loaded by C# Dev Kit
2026-10-06 17:18:39.203 [info] [textDocument/_vs_getProjectContexts] [FileBasedProgramsProjectSystem] Restoring Canonical.csproj: Determining projects to restore...
2026-10-06 17:18:39.432 [info] [textDocument/_vs_getProjectContexts] [FileBasedProgramsProjectSystem] Restoring Canonical.csproj: Restored C:\Users\thelo\AppData\Local\Temp\roslyn-canonical-misc\816300c5-7c3d-43e7-96ca-95be2be1391c\Canonical.csproj (in 62 ms).
2026-10-06 17:18:39.462 [info] [textDocument/_vs_getProjectContexts] [FileBasedProgramsProjectSystem] Restore complete
2026-10-06 17:36:14.222 [error] Failed to show C# Copilot Chat survey prompt Canceled
2026-10-06 17:37:35.941 [info] Locating .NET runtime version 10.0.5
2026-10-06 17:37:36.037 [info] Dotnet path: C:\Program Files\dotnet\dotnet.exe
2026-10-06 17:37:36.037 [info] Activating C# + C# Dev Kit...
2026-10-06 17:37:36.279 [info] info: Program[0]
2026-10-06 17:37:36.279 [info] Server information:
2026-10-06 17:37:36.279 [info] info: Program[0]
2026-10-06 17:37:36.279 [info] Assembly informational version: 5.12.0-1.26452.1+e42c0e42e89e41522593d0816707e71781ecbee2
2026-10-06 17:37:36.279 [info] info: Program[0]
2026-10-06 17:37:36.279 [info] Executable path: c:\Users\thelo\.vscode\extensions\ms-dotnettools.csharp-2.160.4-win32-x64\.roslyn\Microsoft.CodeAnalysis.LanguageServer.exe
2026-10-06 17:37:36.279 [info] info: Program[0]
2026-10-06 17:37:36.279 [info] Process ID: 20704
2026-10-06 17:37:36.511 [info] info: Program[0]
2026-10-06 17:37:36.511 [info] Monitoring client process 20332 for exit
2026-10-06 17:37:36.511 [info] info: Program[0]
2026-10-06 17:37:36.511 [info] Language server initialized
2026-10-06 17:37:37.258 [info] [initialized] [Microsoft.CodeAnalysis.LanguageServer.FileBasedPrograms.FileBasedProgramsEntryPointDiscovery] Finished discovery in 'c:\Users\thelo\source\repos\ContainerDebugTest' in 7 milliseconds
2026-10-06 17:37:37.311 [info] [Razor.LanguageClient.Cohost.RazorCohostDynamicRegistrationService] Requesting 27 Razor cohost registrations.
2026-10-06 17:37:37.325 [info] [initialized] [Razor] Razor extension startup finished.
2026-10-06 17:37:39.561 [info] [WorkspaceProjectFactoryService] Project C:\Users\thelo\source\repos\ContainerDebugTest\ContainerDebugTest.csproj loaded by C# Dev Kit
C# LSP Trace Logs log
Details
Environment Information
VSCode version: 1.140.0
C# Extension: 2.160.4
Using OmniSharp: false
Dotnet Information
.NET SDK:
Version: 10.0.401
Commit: e34a38d2ae
Workload version: 10.0.400-manifests.b0700452
MSBuild version: 18.9.11+e34a38d2a
Runtime Environment:
OS Name: Windows
OS Version: 10.0.26300
OS Platform: Windows
RID: win-x64
Base Path: C:\Program Files\dotnet\sdk\10.0.401\
.NET workloads installed:
[maui-windows]
Installation Source: VS 18.10.12217.157
Manifest Version: 10.0.20/10.0.100
Manifest Path: C:\Program Files\dotnet\sdk-manifests\10.0.100\microsoft.net.sdk.maui\10.0.20\WorkloadManifest.json
Install Type: Msi
[maccatalyst]
Installation Source: VS 18.10.12217.157
Manifest Version: 26.5.10301/10.0.100
Manifest Path: C:\Program Files\dotnet\sdk-manifests\10.0.100\microsoft.net.sdk.maccatalyst\26.5.10301\WorkloadManifest.json
Install Type: Msi
[ios]
Installation Source: VS 18.10.12217.157
Manifest Version: 26.5.10301/10.0.100
Manifest Path: C:\Program Files\dotnet\sdk-manifests\10.0.100\microsoft.net.sdk.ios\26.5.10301\WorkloadManifest.json
Install Type: Msi
[android]
Installation Source: VS 18.10.12217.157
Manifest Version: 36.1.69/10.0.100
Manifest Path: C:\Program Files\dotnet\sdk-manifests\10.0.100\microsoft.net.sdk.android\36.1.69\WorkloadManifest.json
Install Type: Msi
Configured to use workload sets when installing new manifests.
No workload sets are installed. Run "dotnet workload restore" to install a workload set.
Host:
Version: 10.0.12
Architecture: x64
Commit: 95017c711e
.NET SDKs installed:
10.0.401 [C:\Program Files\dotnet\sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 8.0.31 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 9.0.20 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 10.0.12 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 8.0.22 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 8.0.31 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 9.0.20 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 10.0.9 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 10.0.12 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 8.0.22 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 8.0.31 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 9.0.20 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 10.0.9 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 10.0.12 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Other architectures found:
x86 [C:\Program Files (x86)\dotnet]
registered at [HKLM\SOFTWARE\dotnet\Setup\InstalledVersions\x86\InstallLocation]
Environment variables:
DOTNET_CLI_TELEMETRY_OPTOUT [true]
DOTNET_CLI_UI_LANGUAGE [en-US]
global.json file:
Not found
Learn more:
https://aka.ms/dotnet/info
Download .NET:
https://aka.ms/dotnet/download
Visual Studio Code Extensions
| Extension |
Author |
Version |
Folder Name |
| csdevkit |
ms-dotnettools |
3.40.210 |
ms-dotnettools.csdevkit-3.40.210-win32-x64 |
| csharp |
ms-dotnettools |
2.160.4 |
ms-dotnettools.csharp-2.160.4-win32-x64 |
| remote-containers |
ms-vscode-remote |
0.469.0 |
ms-vscode-remote.remote-containers-0.469.0 |
| remote-wsl |
ms-vscode-remote |
0.104.3 |
ms-vscode-remote.remote-wsl-0.104.3 |
| vscode-containers |
ms-azuretools |
2.5.2 |
ms-azuretools.vscode-containers-2.5.2 |
| vscode-dotnet-runtime |
ms-dotnettools |
3.2.0 |
ms-dotnettools.vscode-dotnet-runtime-3.2.0 |
C# Settings
| Setting |
Value |
| preferCSharpExtension |
false |
| compilerDiagnosticScope |
openFiles |
| analyzerDiagnosticScope |
openFiles |
| enableXamlTools |
true |
| useServerGC |
true |
System Info
| Item |
Value |
| CPUs |
AMD Ryzen 5 7600X 6-Core Processor (12 x 4691) |
| GPU Status |
2d_canvas: enabled GPU0: VENDOR= 0x10de, DEVICE=0x2786 [NVIDIA GeForce RTX 4070], DRIVER_VENDOR=NVIDIA, DRIVER_VERSION=32.0.16.1714 ACTIVE GPU1: VENDOR= 0x1414, DEVICE=0x008c [Microsoft Basic Render Driver], DRIVER_VERSION=10.0.26100.9278 Machine model name: Machine model version: direct_rendering_display_compositor: disabled_off_ok gpu_compositing: enabled multiple_raster_threads: enabled_on opengl: enabled_on rasterization: enabled raw_draw: disabled_off_ok skia_graphite: disabled_off trees_in_viz: disabled_off video_decode: enabled video_encode: enabled webgl: enabled webgpu: enabled webnn: disabled_off |
| Load (avg) |
undefined |
| Memory (System) |
15.46GB (2.90GB free) |
| Process Argv |
--crash-reporter-id 7768f008-2f1c-4d55-8a7d-3d3c115eddae |
| Screen Reader |
no |
| VM |
0% |
A/B Experiments
vsliv368:30146709
vswsl492:30256859
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
pythonrdcb7:31342333
6518g693:31463988
aj953862:31281341
envsactivate1:31551504
478i5457:31544283
cloudbuttont:31379625
3efgi100_wstrepl:31403338
ec5jj548:31422691
cp_cls_t_966_ss:31526232
4je02754:31466945
8hhj4413:31478653
cp_cls_c_1081:31454833
conptydll_true:31498968
e9c30283:31461165
46204921:31447328
capico_axe_098a3278:31590238
ei9d7968:31496641
chat:31457767
8hig5102:31480529
89g7j272:31518289
i2gc6536:31499202
52612955:31516516
ec1eg703:31520046
ddid_c:31478207
hmra_i5g22:31518061
l_j1ci3728:31592441
7df3h592:31512476
cp_cls_t_1082:31535311
logging_enabled_new:31498466
db5d2638:31499441
jb_cp_cls_t_632:31543129
56dj4588:31512888
32d76977:31512328
ha629193:31508444
a1ije391_t:31540920
jbcp_cls_pctr_t:31531130
cp_intellij_t_nes:31548657
ahp-both-windows:31556933
ihg5j128:31534457
7g2b5551:31542111
nes-ex-cf-euporie-03:31542868
enable_editor_pane_layout:31569726
allow-none:31555437
ac562147:31564510
1h923230:31564177
treatment-23-1:31555779
unuse_dynamic_mcp:31555281
0d8dfbc3:31570291
maidictation:31565333
0c1h4866:31566224
session-mark-done:31591648
plus-and-new:31594157
multi-root:31593626
5b8j3302:31564601
autotiers:31584978
mangle-name-treatment:31572634
allow-signed-out:31592042
b17abb00-cfec-4134-90da-ee5e32ce4426:31589248
intellij_nes_preview_t:31580086
multiv2:31574985
0ec91c74:31585910
links-control:31587703
aw-autom-on:31583758
usage_tips_endabled_0911:31587631
7g328426_fixed:31595622
codex-agent-host-stable-editor:31593046
0485115c-2712-4002-b6e9-b5d4e30fb963:31595629
sessioninlinediffenabled_disabled:31587634
welcomesignin9359c:31590009
e6882f69-f5cc-4f90-9073-69a4ca3e50ea:31589215
d6a5dc66-a24d-4215-bf31-317b28ac768a:31589212
873a6c30-1450-474f-862d-8084643bbc8e:31593167
5a177259:31592433
57iha306:31595867
9hh48893:31595853
permission_prompt_treatment:1332566
ccr_pr_nudge_auto_review:1319472
vsc_wsm_t:1340632
ce50c479:1417073
cfee5631:1379228
4cj51803:1433348
cmc_aa_t:1435711
Type: Bug
Issue Description
In C# Extension version 2.160.4 (and using latest VS Code version - 1.140.0), the debugger running in a containerized app will fail to stop at breakpoints. Checking debugger logging reveals that the request to establish the breakpoints is in an invalid format. Note that reverting to an earlier C# Extension version solves this issue (tested reverting to 2.140.9).
Steps to Reproduce
The debugger will attach successfully, but the breakpoint will not be hit.
Expected Behavior
The debugger should pause all threads when execution reaches a breakpoint.
Actual Behavior
Breakpoints are ignored.
Extension version: 2.160.4
VS Code version: Code 1.140.0 (07f806f999227108933c2e30515b26eecc1fda74, 2026-09-30T10:38:38+02:00)
OS version: Windows_NT x64 10.0.26300
Modes:
Logs
C# log
Details
C# LSP Trace Logs log
Details
Environment Information
VSCode version: 1.140.0
C# Extension: 2.160.4
Using OmniSharp: false
Dotnet Information
.NET SDK: Version: 10.0.401 Commit: e34a38d2ae Workload version: 10.0.400-manifests.b0700452 MSBuild version: 18.9.11+e34a38d2aRuntime Environment:
OS Name: Windows
OS Version: 10.0.26300
OS Platform: Windows
RID: win-x64
Base Path: C:\Program Files\dotnet\sdk\10.0.401\
.NET workloads installed:
[maui-windows]
Installation Source: VS 18.10.12217.157
Manifest Version: 10.0.20/10.0.100
Manifest Path: C:\Program Files\dotnet\sdk-manifests\10.0.100\microsoft.net.sdk.maui\10.0.20\WorkloadManifest.json
Install Type: Msi
[maccatalyst]
Installation Source: VS 18.10.12217.157
Manifest Version: 26.5.10301/10.0.100
Manifest Path: C:\Program Files\dotnet\sdk-manifests\10.0.100\microsoft.net.sdk.maccatalyst\26.5.10301\WorkloadManifest.json
Install Type: Msi
[ios]
Installation Source: VS 18.10.12217.157
Manifest Version: 26.5.10301/10.0.100
Manifest Path: C:\Program Files\dotnet\sdk-manifests\10.0.100\microsoft.net.sdk.ios\26.5.10301\WorkloadManifest.json
Install Type: Msi
[android]
Installation Source: VS 18.10.12217.157
Manifest Version: 36.1.69/10.0.100
Manifest Path: C:\Program Files\dotnet\sdk-manifests\10.0.100\microsoft.net.sdk.android\36.1.69\WorkloadManifest.json
Install Type: Msi
Configured to use workload sets when installing new manifests.
No workload sets are installed. Run "dotnet workload restore" to install a workload set.
Host:
Version: 10.0.12
Architecture: x64
Commit: 95017c711e
.NET SDKs installed:
10.0.401 [C:\Program Files\dotnet\sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 8.0.31 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 9.0.20 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 10.0.12 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 8.0.22 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 8.0.31 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 9.0.20 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 10.0.9 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 10.0.12 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 8.0.22 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 8.0.31 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 9.0.20 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 10.0.9 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 10.0.12 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Other architectures found:
x86 [C:\Program Files (x86)\dotnet]
registered at [HKLM\SOFTWARE\dotnet\Setup\InstalledVersions\x86\InstallLocation]
Environment variables:
DOTNET_CLI_TELEMETRY_OPTOUT [true]
DOTNET_CLI_UI_LANGUAGE [en-US]
global.json file:
Not found
Learn more:
https://aka.ms/dotnet/info
Download .NET:
https://aka.ms/dotnet/download
Visual Studio Code Extensions
C# Settings
System Info
GPU0: VENDOR= 0x10de, DEVICE=0x2786 [NVIDIA GeForce RTX 4070], DRIVER_VENDOR=NVIDIA, DRIVER_VERSION=32.0.16.1714 ACTIVE
GPU1: VENDOR= 0x1414, DEVICE=0x008c [Microsoft Basic Render Driver], DRIVER_VERSION=10.0.26100.9278
Machine model name:
Machine model version:
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
trees_in_viz: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgpu: enabled
webnn: disabled_off
A/B Experiments