-
Notifications
You must be signed in to change notification settings - Fork 723
Description
Type: Bug
Issue Description
I'm trying to debug a unit test with a legacy net48 project in VSCode. Unfortunately I'm not able to get it to stop on breakpoints.
Steps to Reproduce
- Clone https://github.com/jansohn/vscode-xunit3
- Open the folder in VSCode
- Open UnitTest1.cs, set a breakpoint and press "Debug Test"
Expected Behavior
Debugger stops at breakpoint
Actual Behavior
Test runs through without stopping
Logs
OmniSharp log
C# log
Environment information
VSCode version: 1.103.2
C# Extension: 2.55.29
Using OmniSharp: true
Dotnet Information
.NET SDK: Version: 8.0.202 Commit: 25674bb2f4 Workload version: 8.0.200-manifests.4e94be9cRuntime Environment:
OS Name: Windows
OS Version: 10.0.22631
OS Platform: Windows
RID: win-x64
Base Path: C:\Program Files\dotnet\sdk\8.0.202\
.NET workloads installed:
There are no installed workloads to display.
Host:
Version: 8.0.19
Architecture: x64
Commit: fce8ed90dc
.NET SDKs installed:
8.0.202 [C:\Program Files\dotnet\sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 8.0.3 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 8.0.3 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 8.0.19 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 8.0.3 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 8.0.19 [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:
Not set
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 | 1.41.11 | ms-dotnettools.csdevkit-1.41.11-win32-x64 |
csharp | ms-dotnettools | 2.55.29 | ms-dotnettools.csharp-2.55.29-win32-x64 |
json-tools | eriklynd | 1.0.2 | eriklynd.json-tools-1.0.2 |
powershell | ms-vscode | 2025.2.0 | ms-vscode.powershell-2025.2.0 |
prettyxml | PrateekMahendrakar | 6.2.0 | prateekmahendrakar.prettyxml-6.2.0 |
vscode-containers | ms-azuretools | 2.1.0 | ms-azuretools.vscode-containers-2.1.0 |
vscode-dotnet-runtime | ms-dotnettools | 2.3.7 | ms-dotnettools.vscode-dotnet-runtime-2.3.7 |
vscode-snippets-for-ansible | MattiasBaake | 1.1.0 | mattiasbaake.vscode-snippets-for-ansible-1.1.0 |
xml | DotJoshJohnson | 2.5.1 | dotjoshjohnson.xml-2.5.1 |
Extension version: 2.55.29
VS Code version: Code 1.103.2 (6f17636121051a53c88d3e605c491d22af2ba755, 2025-08-20T16:45:34.255Z)
OS version: Windows_NT x64 10.0.22631
Modes:
A/B Experiments
vsliv368cf:30146710
binariesv615:30325510
vscrp:30673768
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
996jf627:31283433
pythonrdcb7:31342333
usemplatestapi:31297334
747dc170:31275177
aj953862:31281341
nesew2to5:31336538
agentclaude:31350858
nes-set-on:31351930
6abeh943:31336334
envsdeactivate2:31353495
0927b901:31350571
custommodel3t:31371782
45650338:31358607
0cj2b977:31352657
controlchatstate:31363048
cloudbuttonc:31374191
retryenabled:31370050
ghonly:31363598
3efgi100_wstrepl:31374188