Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VSCode C# debugger does not load local symbols after MacOS Sequoia upgrade #5323

Open
rho-seismic opened this issue Mar 8, 2025 · 12 comments
Labels
bug Something isn't working

Comments

@rho-seismic
Copy link

rho-seismic commented Mar 8, 2025

Description

VSCode and vsdbg not loading symbols after upgrade to Sequoia

  • After upgrade to Mac OS Sequoia, all breakpoints are immediately disabled as no symbols are loaded (error reference below)
  • Verified that .pdb file is created in same directory as target dll
    • DREMMR.pdb: Microsoft Roslyn C# debugging symbols version 1.0
  • Attempted configuring embedded and portable symbols with same results.

ENV

OS: macOS Sequoia 15.3.1
Architecture: Apple Silicon M1 Pro
.Net Version: 6.0.418

TOOLING

 dotnet --list-sdks
3.1.426 [/Users/rho/.dotnet/sdk]
6.0.418 [/Users/rho/.dotnet/sdk]

dotnet --list-runtimes
Microsoft.AspNetCore.App 3.1.32 [/Users/rho/.dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.26 [/Users/rho/.dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 2.1.30 [/Users/rho/.dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 3.1.32 [/Users/rho/.dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.26 [/Users/rho/.dotnet/shared/Microsoft.NETCore.App]

APP ENV

VSCode: Have tried with a few older versions with same issue.

Version: 1.98.0 (Universal)
Commit: 6609ac3d66f4eade5cf376d1cb76f13985724bcb
Date: 2025-03-04T21:06:18.612Z
Electron: 34.2.0
ElectronBuildId: 11044223
Chromium: 132.0.6834.196
Node.js: 20.18.2
V8: 13.2.152.36-electron.0
OS: Darwin arm64 24.3.0

.Net Extension Packs tried: 1.0.12, 1.0.13


<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <OutputType>Exe</OutputType>
    <TargetFramework>net6.0</TargetFramework>
    <GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles>
    <ApplicationIcon />
    <StartupObject>DREMMR.Program</StartupObject>    
     <NoWarn>SYSLIB0021,SYSLIB0014,CS1998,CA2254</NoWarn>     
     <WarningsAsErrors>CS8019IDE0017,IDE0044</WarningsAsErrors>
  </PropertyGroup>
</Project>

launch.json :

`"symbolOptions": {
    "searchPaths": [ "${workspaceFolder}/bin/Debug/net6.0" ],
    "searchMicrosoftSymbolServer": false
},
"logging": {
    "engineLogging": true,
    "moduleLoad": true,
    "trace": true
}`

*** Debug console output with tracing:


<- (R) {"seq":4,"type":"response","request_seq":2,"success":true,"command":"launch"}
<- (E) {"seq":5,"type":"event","event":"initialized","body":{}}
-> (C) {"command":"setBreakpoints","arguments":{"source":{"name":"Program.cs","path":"/Users/rho/Documents/GitHub/dre-metrics/dre-mmr-net/src/Program.cs","checksums":[{"algorithm":"SHA1","checksum":"f1ec028bcd4b1dce6fb42d2bdcc0bb83250f76fb"},{"algorithm":"SHA256","checksum":"26ee08f3103f735d5a3a0813338bd55c082b98edf3bf95a5d40215e6a94701ef"},{"algorithm":"SHA1","checksum":"8365770bc2bcb6ed12c714d3e9dbfa4f398b148b"},{"algorithm":"SHA256","checksum":"d393b421bee8415e74b340ef4a6267f7115619305cea2e7bb42882aec1b07f12"}]},"lines":[9,57,65],"breakpoints":[{"line":9},{"line":57},{"line":65}],"sourceModified":false},"type":"request","seq":4}
<- (E) {"seq":6,"type":"event","event":"output","body":{"category":"telemetry","output":"vs/diagnostics/debugger/vsdbg/BreakpointAdded","data":{"VS.Diagnostics.Debugger.vsdbg.AdapterId":"coreclr","VS.Diagnostics.Debugger.vsdbg.BreakpointAdded.HasCondition":false,"VS.Diagnostics.Debugger.vsdbg.OSFamily":"Darwin","VS.Diagnostics.Debugger.vsdbg.BreakpointAdded.HasHitCount":false,"VS.Diagnostics.Debugger.vsdbg.Distribution.Name":"Darwin","VS.Diagnostics.Debugger.vsdbg.Distribution.Version":"24.3.0","VS.Diagnostics.Debugger.vsdbg.BreakpointAdded.HasLogMessage":false,"VS.Diagnostics.Debugger.vsdbg.Version":"17.13.20213.2 commit:94f9ba144fac710bef039d59c06d96da171fd332","VS.Diagnostics.Debugger.vsdbg.BreakpointAdded.BreakpointType":"Source"}}}
<- (E) {"seq":7,"type":"event","event":"output","body":{"category":"telemetry","output":"vs/diagnostics/debugger/vsdbg/BreakpointAdded","data":{"VS.Diagnostics.Debugger.vsdbg.AdapterId":"coreclr","VS.Diagnostics.Debugger.vsdbg.BreakpointAdded.HasCondition":false,"VS.Diagnostics.Debugger.vsdbg.OSFamily":"Darwin","VS.Diagnostics.Debugger.vsdbg.BreakpointAdded.HasHitCount":false,"VS.Diagnostics.Debugger.vsdbg.Distribution.Name":"Darwin","VS.Diagnostics.Debugger.vsdbg.Distribution.Version":"24.3.0","VS.Diagnostics.Debugger.vsdbg.BreakpointAdded.HasLogMessage":false,"VS.Diagnostics.Debugger.vsdbg.Version":"17.13.20213.2 commit:94f9ba144fac710bef039d59c06d96da171fd332","VS.Diagnostics.Debugger.vsdbg.BreakpointAdded.BreakpointType":"Source"}}}
<- (E) {"seq":8,"type":"event","event":"output","body":{"category":"telemetry","output":"vs/diagnostics/debugger/vsdbg/BreakpointAdded","data":{"VS.Diagnostics.Debugger.vsdbg.AdapterId":"coreclr","VS.Diagnostics.Debugger.vsdbg.BreakpointAdded.HasCondition":false,"VS.Diagnostics.Debugger.vsdbg.OSFamily":"Darwin","VS.Diagnostics.Debugger.vsdbg.BreakpointAdded.HasHitCount":false,"VS.Diagnostics.Debugger.vsdbg.Distribution.Name":"Darwin","VS.Diagnostics.Debugger.vsdbg.Distribution.Version":"24.3.0","VS.Diagnostics.Debugger.vsdbg.BreakpointAdded.HasLogMessage":false,"VS.Diagnostics.Debugger.vsdbg.Version":"17.13.20213.2 commit:94f9ba144fac710bef039d59c06d96da171fd332","VS.Diagnostics.Debugger.vsdbg.BreakpointAdded.BreakpointType":"Source"}}}
-> (C) {"command":"setBreakpoints","arguments":{"source":{"name":"QueryOMSNewRelicMetricsAdapters.cs","path":"/Users/rho/Documents/GitHub/dre-metrics/dre-mmr-net/src/QueryOMSNewRelicMetricsAdapters.cs","checksums":[{"algorithm":"SHA1","checksum":"802dcb12bd453296932c5509c4b4c5e1b2bd00a8"},{"algorithm":"SHA256","checksum":"c644e4234459735e88b084369ffba855ae594e94dcbc104bc22c94fafde11cd8"},{"algorithm":"SHA1","checksum":"bf6495405111cf0d26774cc6d232c0497ce8361c"},{"algorithm":"SHA256","checksum":"a7447844e175fd14e2dd53ef320dd891a2d2ee416f548cc7872486d35532b47b"}]},"lines":[42],"breakpoints":[{"line":42}],"sourceModified":false},"type":"request","seq":5}
<- (R) {"seq":9,"type":"response","request_seq":4,"success":true,"command":"setBreakpoints","body":{"breakpoints":[{"id":1,"verified":false,"message":"The breakpoint is pending and will be resolved when debugging starts.","line":9},{"id":2,"verified":false,"message":"The breakpoint is pending and will be resolved when debugging starts.","line":57},{"id":3,"verified":false,"message":"The breakpoint is pending and will be resolved when debugging starts.","line":65}]}}
<- (E) {"seq":10,"type":"event","event":"output","body":{"category":"telemetry","output":"vs/diagnostics/debugger/vsdbg/BreakpointAdded","data":{"VS.Diagnostics.Debugger.vsdbg.AdapterId":"coreclr","VS.Diagnostics.Debugger.vsdbg.BreakpointAdded.HasCondition":false,"VS.Diagnostics.Debugger.vsdbg.OSFamily":"Darwin","VS.Diagnostics.Debugger.vsdbg.BreakpointAdded.HasHitCount":false,"VS.Diagnostics.Debugger.vsdbg.Distribution.Name":"Darwin","VS.Diagnostics.Debugger.vsdbg.Distribution.Version":"24.3.0","VS.Diagnostics.Debugger.vsdbg.BreakpointAdded.HasLogMessage":false,"VS.Diagnostics.Debugger.vsdbg.Version":"17.13.20213.2 commit:94f9ba144fac710bef039d59c06d96da171fd332","VS.Diagnostics.Debugger.vsdbg.BreakpointAdded.BreakpointType":"Source"}}}
<- (R) {"seq":11,"type":"response","request_seq":5,"success":true,"command":"setBreakpoints","body":{"breakpoints":[{"id":4,"verified":false,"message":"The breakpoint is pending and will be resolved when debugging starts.","line":42}]}}
-> (C) {"command":"setBreakpoints","arguments":{"source":{"name":"TenantReport.cs","path":"/Users/rho/Documents/GitHub/dre-metrics/dre-mmr-net/src/TenantReport.cs","checksums":[{"algorithm":"SHA1","checksum":"01b38990f2f5af8e83b9f160347fc96200a06c84"},{"algorithm":"SHA256","checksum":"a5436ff544e7e81281917d7165ac746bceb1926b9a7afb37534311a8edee2d6a"},{"algorithm":"SHA1","checksum":"f4cc0781017de12becb11112537a5ba173408bb5"},{"algorithm":"SHA256","checksum":"ed355d9d039f2492c46f92c983f76f7849545653e2b0ae76a9ee4de4443e3df0"}]},"lines":[61,136],"breakpoints":[{"line":61},{"line":136}],"sourceModified":false},"type":"request","seq":6}
-> (C) {"command":"setFunctionBreakpoints","arguments":{"breakpoints":[]},"type":"request","seq":7}
-> (C) {"command":"setExceptionBreakpoints","arguments":{"filters":[],"filterOptions":[{"filterId":"user-unhandled"}]},"type":"request","seq":8}
<- (E) {"seq":12,"type":"event","event":"output","body":{"category":"telemetry","output":"vs/diagnostics/debugger/vsdbg/BreakpointAdded","data":{"VS.Diagnostics.Debugger.vsdbg.AdapterId":"coreclr","VS.Diagnostics.Debugger.vsdbg.BreakpointAdded.HasCondition":false,"VS.Diagnostics.Debugger.vsdbg.OSFamily":"Darwin","VS.Diagnostics.Debugger.vsdbg.BreakpointAdded.HasHitCount":false,"VS.Diagnostics.Debugger.vsdbg.Distribution.Name":"Darwin","VS.Diagnostics.Debugger.vsdbg.Distribution.Version":"24.3.0","VS.Diagnostics.Debugger.vsdbg.BreakpointAdded.HasLogMessage":false,"VS.Diagnostics.Debugger.vsdbg.Version":"17.13.20213.2 commit:94f9ba144fac710bef039d59c06d96da171fd332","VS.Diagnostics.Debugger.vsdbg.BreakpointAdded.BreakpointType":"Source"}}}
<- (E) {"seq":13,"type":"event","event":"output","body":{"category":"telemetry","output":"vs/diagnostics/debugger/vsdbg/BreakpointAdded","data":{"VS.Diagnostics.Debugger.vsdbg.AdapterId":"coreclr","VS.Diagnostics.Debugger.vsdbg.BreakpointAdded.HasCondition":false,"VS.Diagnostics.Debugger.vsdbg.OSFamily":"Darwin","VS.Diagnostics.Debugger.vsdbg.BreakpointAdded.HasHitCount":false,"VS.Diagnostics.Debugger.vsdbg.Distribution.Name":"Darwin","VS.Diagnostics.Debugger.vsdbg.Distribution.Version":"24.3.0","VS.Diagnostics.Debugger.vsdbg.BreakpointAdded.HasLogMessage":false,"VS.Diagnostics.Debugger.vsdbg.Version":"17.13.20213.2 commit:94f9ba144fac710bef039d59c06d96da171fd332","VS.Diagnostics.Debugger.vsdbg.BreakpointAdded.BreakpointType":"Source"}}}
<- (R) {"seq":14,"type":"response","request_seq":6,"success":true,"command":"setBreakpoints","body":{"breakpoints":[{"id":5,"verified":false,"message":"The breakpoint is pending and will be resolved when debugging starts.","line":61},{"id":6,"verified":false,"message":"The breakpoint is pending and will be resolved when debugging starts.","line":136}]}}
<- (R) {"seq":15,"type":"response","request_seq":7,"success":true,"command":"setFunctionBreakpoints","body":{"breakpoints":[]}}
<- (R) {"seq":16,"type":"response","request_seq":8,"success":true,"command":"setExceptionBreakpoints","body":{"breakpoints":[{"verified":true}]}}
-> (C) {"command":"configurationDone","type":"request","seq":9}
<- (E) {"seq":17,"type":"event","event":"output","body":{"category":"telemetry","output":"VS/Diagnostics/Debugger/vsdbg/ProcessCreate","data":{"VS.Diagnostics.Debugger.vsdbg.Distribution.Version":"24.3.0","VS.Diagnostics.Debugger.vsdbg.Distribution.Name":"Darwin","VS.Diagnostics.Debugger.vsdbg.OSFamily":"Darwin","VS.Diagnostics.Debugger.vsdbg.TargetArchitecture":"ARM64","VS.Diagnostics.Debugger.vsdbg.Version":"17.13.20213.2 commit:94f9ba144fac710bef039d59c06d96da171fd332"}}}
<- (E) {"seq":18,"type":"event","event":"process","body":{"name":"/Users/rho/.dotnet/dotnet","systemProcessId":82107,"isLocalProcess":true,"startMethod":"launch"}}
ServiceBroker Start: 0 : Requesting proxy to "Microsoft.VisualStudio.Debugger.ManagedEditAndContinueCsDevKitEngineService2 (0.1)"
<- (E) {"seq":19,"type":"event","event":"breakpoint","body":{"reason":"changed","breakpoint":{"id":1,"verified":false,"message":"No symbols have been loaded for this document.","line":9}}}
ServiceBroker Stop: 0 : Requesting proxy to "Microsoft.VisualStudio.Debugger.ManagedEditAndContinueCsDevKitEngineService2 (0.1)"
<- (R) {"seq":25,"type":"response","request_seq":9,"success":true,"command":"configurationDone"}
-> (C) {"command":"threads","type":"request","seq":10}
<- (R) {"seq":26,"type":"response","request_seq":10,"success":true,"command":"threads","body":{"threads":[]}}

@rho-seismic rho-seismic added the bug Something isn't working label Mar 8, 2025
@hoyosjs
Copy link
Member

hoyosjs commented Mar 9, 2025

@gregg-miskelly - what's the best repo for investigation of this?

@rho-seismic
Copy link
Author

@hoyosjs don't have one set up.

@rho-seismic
Copy link
Author

@hoyosjs I replicated this in VSCode with ".Net: New Project" > "Console App" selecting ".Net Framework 6.0"

@gregg-miskelly
Copy link

@hoyosjs I haven't looked at this bug.

@rho-seismic a few questions:

  1. Can you include your full launch.json launch configuration?
  2. Can you reproduce this issue with something other than .NET 6? (.NET 6 is no longer supported)

@rho-seismic
Copy link
Author

Will try with .Net8

launch.json:

    {
      "name": "app",
      "type": "coreclr",
      "request": "launch",
      "preLaunchTask": "build-debug",
      //"program": "${workspaceFolder}/src/bin/Debug/net6.0/DREMMR.dll",
      "program": "dotnet",
      "args": ["${workspaceFolder}/src/bin/Debug/net6.0/DREMMR.dll","args"],
      "cwd": "${workspaceFolder}",
      "stopAtEntry": false,
      "console": "integratedTerminal",
      "sourceFileMap": {
      //  "/Views": "${workspaceFolder}/Views"
      },
      "logging": {
        "diagnosticsLog":
        {
          "level": "verbose",
          "protocolMessages": true,
          "moduleLoad": true,
          "trace": true
        }
    },

@rho-seismic
Copy link
Author

@gregg-miskelly Targeting .Net 8 also has same issue, with exact same debug console output:


rho@rho-FMJWDMGTW4 dre-mmr-net % dotnet --list-sdks
8.0.406 [/Users/rho/.dotnet/sdk]
rho@rho-FMJWDMGTW4 dre-mmr-net % dotnet --list-runtimes
Microsoft.AspNetCore.App 3.1.32 [/Users/rho/.dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.26 [/Users/rho/.dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 2.1.30 [/Users/rho/.dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 3.1.32 [/Users/rho/.dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.26 [/Users/rho/.dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 8.0.13 [/Users/rho/.dotnet/shared/Microsoft.NETCore.App]

<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <OutputType>Exe</OutputType>
    <TargetFramework>net8.0</TargetFramework>
    <GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles>
    <ApplicationIcon />
    <StartupObject>DREMMR.Program</StartupObject>    
     <NoWarn>SYSLIB0021,SYSLIB0014,CS1998,CA2254</NoWarn>     
     <WarningsAsErrors>CS8019IDE0017,IDE0044</WarningsAsErrors>
  </PropertyGroup>

  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug'">
    <DefineConstants>DEBUG</DefineConstants>
  </PropertyGroup>
</Project>

launch.json

{
   "name": "app",
   "type": "coreclr",
   "request": "launch",
   "preLaunchTask": "build-debug",
   "program": "dotnet",
   "args": ["${workspaceFolder}/src/bin/Debug/net8.0/DREMMR.dll","args"],
   "cwd": "${workspaceFolder}",
   "stopAtEntry": false,
   "console": "integratedTerminal",
   "sourceFileMap": {
   //  "/Views": "${workspaceFolder}/Views"
   },
   "logging": {
     "diagnosticsLog":
     {
       "level": "verbose",
       "protocolMessages": true,
       "moduleLoad": true,
       "trace": true
     }
 },

@gregg-miskelly
Copy link

Thanks! I am not seeing anything unusual about your setup, but unfortunately, I cannot reproduce your failure on macOS 24.3.0 + arm64 + .NET 8.

Two ideas:

1: debugRuntimeEventTracing logs

Can you try updating your logging settings to the following, and uploading the debug console logs, in case that gives us any ideas.

            "logging": {
                "diagnosticsLog": {
                    "debugRuntimeEventTracing": true
                }
            }

The logs should look like:

[Debug Runtime Event] DBI Callback -- CreateProcess(Process:0000000140809828)
[Debug Runtime Event] DBI Callback -- CreateAppDomain(Process:0000000140809828, AppDomain:0000000141E22488)
[Debug Runtime Event] DBI Callback -- LoadAssembly(AppDomain:0000000141E22488, Assembly:00006000025A03A8)
[Debug Runtime Event] DBI Callback -- LoadModule(AppDomain:0000000141E22488, Module:0000000141F354D8)
...

2: stderr messages

In there is more information printed to stderr, can you try:

  • Open a terminal
  • cd ~/.vscode/extensions/ms-dotnettools.csharp-2.63.32-darwin-arm64/.debugger/arm64 (your path might be a bit different depending on what version of the C# extension, and what version of VS Code you have)
  • ./vsdbg-ui --server
  • Edit your launch.json, and add "debugServer": 4711 as a property to the launch configuration
  • Start debugging
  • You should see >> accepted connection from client printed to the terminal. See if anything else is printed as well

@rho-seismic
Copy link
Author

@gregg-miskelly the terminal output was:

Waiting for communication on port 4711...
>> accepted connection from client
^C%                                                                                                                                                                                                                                                                                                   
rho@rho-FMJWDMGTW4 arm64 %  /Users/rho/.vscode/extensions/ms-dotnettools.csharp-2.68.46-darwin-arm64/.debugger/arm64/vsdbg --interpreter=vscode --connection=/var/folders/7v/cpt903qx1fs7lgnqznhmdcdh0000gq/T/CoreFxPipe_vsdbg-ui-39c998a367e04902a8274536e089ad12 
Error: Unable to connect to the specified connection id.

The Debug Console output was:
<- (C) {"command":"runInTerminal","arguments":{"kind":"integrated","title":"dotnet","cwd":"","args":["/Users/rho/.vscode/extensions/ms-dotnettools.csharp-2.68.46-darwin-arm64/.debugger/arm64/vsdbg","--interpreter=vscode","--connection=/var/folders/7v/cpt903qx1fs7lgnqznhmdcdh0000gq/T/CoreFxPipe_vsdbg-ui-39c998a367e04902a8274536e089ad12"]},"seq":2,"type":"request"}

@gregg-miskelly
Copy link

Can you try it with "console": "integratedTerminal" commented out?

@rho-seismic
Copy link
Author

@gregg-miskelly

<- (R) {"seq":5,"type":"response","request_seq":2,"success":true,"command":"launch"}
<- (E) {"seq":6,"type":"event","event":"initialized","body":{}}
ServiceBroker Stop: 0 : Requesting proxy to "Microsoft.VisualStudio.Debugger.ManagedEditAndContinueRemoteDebuggerService2 (0.1)"
-> (C) {"command":"setBreakpoints","arguments":{"source":{"name":"DisabledIndexRepair.cs","path":"/Users/rho/Documents/GitHub/dre-metrics/dre-mmr-net/src/DisabledIndexRepair.cs","checksums":[{"algorithm":"SHA1","checksum":"f7e0bcaef075eded94f301899e32adab4f042ebb"},{"algorithm":"SHA256","checksum":"a992aae3f119fe05d251f9bf962166b1c409eb084d0efcad1ef4de67d9525ddd"},{"algorithm":"SHA1","checksum":"b6462a22d6e124ef4855fac20799c67c618ca1ba"},{"algorithm":"SHA256","checksum":"746c203af0b97dcc777e9f5a50bc76effa683c40d26162e439a57317580bfc01"}]},"lines":[109],"breakpoints":[{"line":109}],"sourceModified":false},"type":"request","seq":3}
<- (E) {"seq":7,"type":"event","event":"output","body":{"category":"telemetry","output":"vs/diagnostics/debugger/vsdbg/BreakpointAdded","data":{"VS.Diagnostics.Debugger.vsdbg.AdapterId":"coreclr","VS.Diagnostics.Debugger.vsdbg.BreakpointAdded.HasCondition":false,"VS.Diagnostics.Debugger.vsdbg.OSFamily":"Darwin","VS.Diagnostics.Debugger.vsdbg.BreakpointAdded.HasHitCount":false,"VS.Diagnostics.Debugger.vsdbg.Distribution.Name":"Darwin","VS.Diagnostics.Debugger.vsdbg.Distribution.Version":"24.3.0","VS.Diagnostics.Debugger.vsdbg.BreakpointAdded.HasLogMessage":false,"VS.Diagnostics.Debugger.vsdbg.Version":"17.13.20213.2 commit:94f9ba144fac710bef039d59c06d96da171fd332","VS.Diagnostics.Debugger.vsdbg.BreakpointAdded.BreakpointType":"Source"}}}
<- (R) {"seq":8,"type":"response","request_seq":3,"success":true,"command":"setBreakpoints","body":{"breakpoints":[{"id":1,"verified":false,"message":"The breakpoint is pending and will be resolved when debugging starts.","line":109}]}}
-> (C) {"command":"setBreakpoints","arguments":{"source":{"name":"Program.cs","path":"/Users/rho/Documents/GitHub/dre-metrics/dre-mmr-net/src/Program.cs","checksums":[{"algorithm":"SHA1","checksum":"02dc9c69e27be88f68c4f246a917ac1e5bda482a"},{"algorithm":"SHA256","checksum":"ffc26fdec932ce3e187c7ce90429344b7f4a18aff5771906d08b20a412065378"},{"algorithm":"SHA1","checksum":"4a6a4cf0c2196f38d2b228e608b13b712504148c"},{"algorithm":"SHA256","checksum":"ebf4e610f192f4e587ab9c1fdce0a0e39a4b30984e842cbfb861cd7547eea5d2"}]},"lines":[9,57,65],"breakpoints":[{"line":9},{"line":57},{"line":65}],"sourceModified":false},"type":"request","seq":4}
<- (E) {"seq":9,"type":"event","event":"output","body":{"category":"telemetry","output":"vs/diagnostics/debugger/vsdbg/BreakpointAdded","data":{"VS.Diagnostics.Debugger.vsdbg.AdapterId":"coreclr","VS.Diagnostics.Debugger.vsdbg.BreakpointAdded.HasCondition":false,"VS.Diagnostics.Debugger.vsdbg.OSFamily":"Darwin","VS.Diagnostics.Debugger.vsdbg.BreakpointAdded.HasHitCount":false,"VS.Diagnostics.Debugger.vsdbg.Distribution.Name":"Darwin","VS.Diagnostics.Debugger.vsdbg.Distribution.Version":"24.3.0","VS.Diagnostics.Debugger.vsdbg.BreakpointAdded.HasLogMessage":false,"VS.Diagnostics.Debugger.vsdbg.Version":"17.13.20213.2 commit:94f9ba144fac710bef039d59c06d96da171fd332","VS.Diagnostics.Debugger.vsdbg.BreakpointAdded.BreakpointType":"Source"}}}
<- (E) {"seq":10,"type":"event","event":"output","body":{"category":"telemetry","output":"vs/diagnostics/debugger/vsdbg/BreakpointAdded","data":{"VS.Diagnostics.Debugger.vsdbg.AdapterId":"coreclr","VS.Diagnostics.Debugger.vsdbg.BreakpointAdded.HasCondition":false,"VS.Diagnostics.Debugger.vsdbg.OSFamily":"Darwin","VS.Diagnostics.Debugger.vsdbg.BreakpointAdded.HasHitCount":false,"VS.Diagnostics.Debugger.vsdbg.Distribution.Name":"Darwin","VS.Diagnostics.Debugger.vsdbg.Distribution.Version":"24.3.0","VS.Diagnostics.Debugger.vsdbg.BreakpointAdded.HasLogMessage":false,"VS.Diagnostics.Debugger.vsdbg.Version":"17.13.20213.2 commit:94f9ba144fac710bef039d59c06d96da171fd332","VS.Diagnostics.Debugger.vsdbg.BreakpointAdded.BreakpointType":"Source"}}}
<- (E) {"seq":11,"type":"event","event":"output","body":{"category":"telemetry","output":"vs/diagnostics/debugger/vsdbg/BreakpointAdded","data":{"VS.Diagnostics.Debugger.vsdbg.AdapterId":"coreclr","VS.Diagnostics.Debugger.vsdbg.BreakpointAdded.HasCondition":false,"VS.Diagnostics.Debugger.vsdbg.OSFamily":"Darwin","VS.Diagnostics.Debugger.vsdbg.BreakpointAdded.HasHitCount":false,"VS.Diagnostics.Debugger.vsdbg.Distribution.Name":"Darwin","VS.Diagnostics.Debugger.vsdbg.Distribution.Version":"24.3.0","VS.Diagnostics.Debugger.vsdbg.BreakpointAdded.HasLogMessage":false,"VS.Diagnostics.Debugger.vsdbg.Version":"17.13.20213.2 commit:94f9ba144fac710bef039d59c06d96da171fd332","VS.Diagnostics.Debugger.vsdbg.BreakpointAdded.BreakpointType":"Source"}}}
<- (R) {"seq":12,"type":"response","request_seq":4,"success":true,"command":"setBreakpoints","body":{"breakpoints":[{"id":2,"verified":false,"message":"The breakpoint is pending and will be resolved when debugging starts.","line":9},{"id":3,"verified":false,"message":"The breakpoint is pending and will be resolved when debugging starts.","line":57},{"id":4,"verified":false,"message":"The breakpoint is pending and will be resolved when debugging starts.","line":65}]}}
-> (C) {"command":"setBreakpoints","arguments":{"source":{"name":"QueryOMSNewRelicMetricsAdapters.cs","path":"/Users/rho/Documents/GitHub/dre-metrics/dre-mmr-net/src/QueryOMSNewRelicMetricsAdapters.cs","checksums":[{"algorithm":"SHA1","checksum":"802dcb12bd453296932c5509c4b4c5e1b2bd00a8"},{"algorithm":"SHA256","checksum":"c644e4234459735e88b084369ffba855ae594e94dcbc104bc22c94fafde11cd8"},{"algorithm":"SHA1","checksum":"bf6495405111cf0d26774cc6d232c0497ce8361c"},{"algorithm":"SHA256","checksum":"a7447844e175fd14e2dd53ef320dd891a2d2ee416f548cc7872486d35532b47b"}]},"lines":[42],"breakpoints":[{"line":42}],"sourceModified":false},"type":"request","seq":5}
<- (E) {"seq":13,"type":"event","event":"output","body":{"category":"telemetry","output":"vs/diagnostics/debugger/vsdbg/BreakpointAdded","data":{"VS.Diagnostics.Debugger.vsdbg.AdapterId":"coreclr","VS.Diagnostics.Debugger.vsdbg.BreakpointAdded.HasCondition":false,"VS.Diagnostics.Debugger.vsdbg.OSFamily":"Darwin","VS.Diagnostics.Debugger.vsdbg.BreakpointAdded.HasHitCount":false,"VS.Diagnostics.Debugger.vsdbg.Distribution.Name":"Darwin","VS.Diagnostics.Debugger.vsdbg.Distribution.Version":"24.3.0","VS.Diagnostics.Debugger.vsdbg.BreakpointAdded.HasLogMessage":false,"VS.Diagnostics.Debugger.vsdbg.Version":"17.13.20213.2 commit:94f9ba144fac710bef039d59c06d96da171fd332","VS.Diagnostics.Debugger.vsdbg.BreakpointAdded.BreakpointType":"Source"}}}
<- (R) {"seq":14,"type":"response","request_seq":5,"success":true,"command":"setBreakpoints","body":{"breakpoints":[{"id":5,"verified":false,"message":"The breakpoint is pending and will be resolved when debugging starts.","line":42}]}}
-> (C) {"command":"setBreakpoints","arguments":{"source":{"name":"TenantReport.cs","path":"/Users/rho/Documents/GitHub/dre-metrics/dre-mmr-net/src/TenantReport.cs","checksums":[{"algorithm":"SHA1","checksum":"01b38990f2f5af8e83b9f160347fc96200a06c84"},{"algorithm":"SHA256","checksum":"a5436ff544e7e81281917d7165ac746bceb1926b9a7afb37534311a8edee2d6a"},{"algorithm":"SHA1","checksum":"f4cc0781017de12becb11112537a5ba173408bb5"},{"algorithm":"SHA256","checksum":"ed355d9d039f2492c46f92c983f76f7849545653e2b0ae76a9ee4de4443e3df0"}]},"lines":[61,136],"breakpoints":[{"line":61},{"line":136}],"sourceModified":false},"type":"request","seq":6}
-> (C) {"command":"setFunctionBreakpoints","arguments":{"breakpoints":[]},"type":"request","seq":7}
-> (C) {"command":"setExceptionBreakpoints","arguments":{"filters":[],"filterOptions":[{"filterId":"user-unhandled"}]},"type":"request","seq":8}
<- (E) {"seq":15,"type":"event","event":"output","body":{"category":"telemetry","output":"vs/diagnostics/debugger/vsdbg/BreakpointAdded","data":{"VS.Diagnostics.Debugger.vsdbg.AdapterId":"coreclr","VS.Diagnostics.Debugger.vsdbg.BreakpointAdded.HasCondition":false,"VS.Diagnostics.Debugger.vsdbg.OSFamily":"Darwin","VS.Diagnostics.Debugger.vsdbg.BreakpointAdded.HasHitCount":false,"VS.Diagnostics.Debugger.vsdbg.Distribution.Name":"Darwin","VS.Diagnostics.Debugger.vsdbg.Distribution.Version":"24.3.0","VS.Diagnostics.Debugger.vsdbg.BreakpointAdded.HasLogMessage":false,"VS.Diagnostics.Debugger.vsdbg.Version":"17.13.20213.2 commit:94f9ba144fac710bef039d59c06d96da171fd332","VS.Diagnostics.Debugger.vsdbg.BreakpointAdded.BreakpointType":"Source"}}}
<- (E) {"seq":16,"type":"event","event":"output","body":{"category":"telemetry","output":"vs/diagnostics/debugger/vsdbg/BreakpointAdded","data":{"VS.Diagnostics.Debugger.vsdbg.AdapterId":"coreclr","VS.Diagnostics.Debugger.vsdbg.BreakpointAdded.HasCondition":false,"VS.Diagnostics.Debugger.vsdbg.OSFamily":"Darwin","VS.Diagnostics.Debugger.vsdbg.BreakpointAdded.HasHitCount":false,"VS.Diagnostics.Debugger.vsdbg.Distribution.Name":"Darwin","VS.Diagnostics.Debugger.vsdbg.Distribution.Version":"24.3.0","VS.Diagnostics.Debugger.vsdbg.BreakpointAdded.HasLogMessage":false,"VS.Diagnostics.Debugger.vsdbg.Version":"17.13.20213.2 commit:94f9ba144fac710bef039d59c06d96da171fd332","VS.Diagnostics.Debugger.vsdbg.BreakpointAdded.BreakpointType":"Source"}}}
<- (R) {"seq":17,"type":"response","request_seq":6,"success":true,"command":"setBreakpoints","body":{"breakpoints":[{"id":6,"verified":false,"message":"The breakpoint is pending and will be resolved when debugging starts.","line":61},{"id":7,"verified":false,"message":"The breakpoint is pending and will be resolved when debugging starts.","line":136}]}}
<- (R) {"seq":18,"type":"response","request_seq":7,"success":true,"command":"setFunctionBreakpoints","body":{"breakpoints":[]}}
<- (R) {"seq":19,"type":"response","request_seq":8,"success":true,"command":"setExceptionBreakpoints","body":{"breakpoints":[{"verified":true}]}}
-> (C) {"command":"configurationDone","type":"request","seq":9}
<- (E) {"seq":20,"type":"event","event":"output","body":{"category":"telemetry","output":"VS/Diagnostics/Debugger/vsdbg/ProcessCreate","data":{"VS.Diagnostics.Debugger.vsdbg.Distribution.Version":"24.3.0","VS.Diagnostics.Debugger.vsdbg.Distribution.Name":"Darwin","VS.Diagnostics.Debugger.vsdbg.OSFamily":"Darwin","VS.Diagnostics.Debugger.vsdbg.TargetArchitecture":"ARM64","VS.Diagnostics.Debugger.vsdbg.Version":"17.13.20213.2 commit:94f9ba144fac710bef039d59c06d96da171fd332"}}}
<- (E) {"seq":21,"type":"event","event":"process","body":{"name":"/Users/rho/.dotnet/dotnet","systemProcessId":79398,"isLocalProcess":true,"startMethod":"launch"}}
ServiceBroker Start: 0 : Requesting proxy to "Microsoft.VisualStudio.Debugger.ManagedEditAndContinueCsDevKitEngineService2 (0.1)"
ServiceBroker Stop: 0 : Requesting proxy to "Microsoft.VisualStudio.Debugger.ManagedEditAndContinueCsDevKitEngineService2 (0.1)"
<- (E) {"seq":22,"type":"event","event":"breakpoint","body":{"reason":"changed","breakpoint":{"id":1,"verified":false,"message":"No symbols have been loaded for this document.","line":109}}}
<- (E) {"seq":23,"type":"event","event":"breakpoint","body":{"reason":"changed","breakpoint":{"id":2,"verified":false,"message":"No symbols have been loaded for this document.","line":9}}}
<- (E) {"seq":24,"type":"event","event":"breakpoint","body":{"reason":"changed","breakpoint":{"id":3,"verified":false,"message":"No symbols have been loaded for this document.","line":57}}}
<- (E) {"seq":25,"type":"event","event":"breakpoint","body":{"reason":"changed","breakpoint":{"id":4,"verified":false,"message":"No symbols have been loaded for this document.","line":65}}}
<- (E) {"seq":26,"type":"event","event":"breakpoint","body":{"reason":"changed","breakpoint":{"id":5,"verified":false,"message":"No symbols have been loaded for this document.","line":42}}}
<- (E) {"seq":27,"type":"event","event":"breakpoint","body":{"reason":"changed","breakpoint":{"id":6,"verified":false,"message":"No symbols have been loaded for this document.","line":61}}}
<- (E) {"seq":28,"type":"event","event":"breakpoint","body":{"reason":"changed","breakpoint":{"id":7,"verified":false,"message":"No symbols have been loaded for this document.","line":136}}}
<- (R) {"seq":29,"type":"response","request_seq":9,"success":true,"command":"configurationDone"}
-> (C) {"command":"threads","type":"request","seq":10}
<- (R) {"seq":30,"type":"response","request_seq":10,"success":true,"command":"threads","body":{"threads":[]}}

@gregg-miskelly
Copy link

Thanks, and this trace had "debugRuntimeEventTracing": true correct? If so, what this tells me is that the .NET Debugging services weren't able to obtain any events from the target process.

@rho-seismic
Copy link
Author

@gregg-miskelly Yes, the snippet is


      "logging": {
        "diagnosticsLog":
        {
          "level": "verbose",
          "protocolMessages": true,
          "moduleLoad": true,
          "trace": true,
          "debugRuntimeEventTracing": true
        }
      },

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants