Breakpoint is not hit when debugging a .NET 10 console project with Containers: .NET Launch

Aperta
#623 2 commenti 1 reazione 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
csharp, docker, vscode
Ambito
devops, devtools

Direzione di ricerca

Reproduce the issue with a .NET 10 console project, Docker support, Program.cs, and the Containers: .NET Launch configuration, then compare it with .NET Core Launch (console), where the breakpoint works. Trace the container debugging setup and verify that the breakpoint on Console.WriteLine("Hello, World!") is hit when the fix is complete.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

.NET AT-CTI blocked external

OS: Win 10
Build Version: 20260924.1

Repro Steps:

  1. Create a .NET10 console project
  2. Add Docker support to the project
  3. Set a breakpoint on the Console.WriteLine("Hello, World!"); line in Program.cs.
  4. Select Containers: .NET Launch and start debugging.
  5. Observe whether the breakpoint is hit or not

Expect:
The breakpoint should be hit when debugging the .NET console project with Containers: .NET Launch

Actual:
The breakpoint is not hit when debugging with Containers: .NET Launch
Image

More Info:
This issue doesn't repro when debugging with .NET Core Launch (console)
Image

Lingua principale
TypeScript
Stelle
147
Fork
93
Merge medio
9h 16m
PR unite (30g)
14

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di microsoft/vscode-containers

Tutte le issue di microsoft/vscode-containers

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.