dotnet / docs

This repository contains .NET Documentation.
https://learn.microsoft.com/dotnet
Creative Commons Attribution 4.0 International
4.27k stars 5.9k forks source link

Option "justMyCode":false is necessary for debugging #39639

Closed theEmil closed 8 months ago

theEmil commented 8 months ago

Type of issue

Code doesn't work

Description

[Enter feedback here] I encountered a problem when remotely debugging a Dotnet App with Dotnet version "dotnetcore8.0" on a Raspberry Pi. The Breakpoints/Symbols would not load and the debugger would not pause on Breakpoints.

The Fix was to add the Option

"justMyCode": false,

to the launch.json file.

I dont know what causes this Problem and why it is fixed with that Option, but it worked for me.

If further information is needed, feel free to contact me.

Page URL

https://learn.microsoft.com/en-us/dotnet/iot/debugging?tabs=self-contained&pivots=vscode

Content source URL

https://github.com/dotnet/docs/blob/main/docs/iot/debugging.md

Document Version Independent Id

171f8840-fa9a-9174-2628-f3a9f6d0915e

Article author

@CamSoper

Metadata


Associated WorkItem - 215928

CamSoper commented 8 months ago

I'll try to repro and update the doc accordingly. Thank you so much, @theEmil !!!