dotnet / dotnet/command-line-api
Invoke/InvokeAsync hangs while debugging until VS restart
Nessuno ha ancora preso questa issue.
- Lingua principale
- C#
- Stelle
- 3.7k
- Fork
- 428
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
I noticed while testing my console application that at some point after starting/stopping debugging, the InvokeAsync and Invoke methods hanged and never returned, this kept happening after that time all the time until I finally restarted Visual Studio then the problem disappeared.
Unfortunately I don't have any steps to reproduce this issue, don't have any stack traces, and it hasn't happened in a while anymore, but thought it might still be a good idea to open an issue about it.
The call:
return await rootCommand.InvokeAsync(args);
Thank you for this library! Can't wait for a documented and stable version :)
EDIT: If I recall correctly, the version of VS I was using at the time was 16.4.x (sorry don't remember, should have opened an issue right there and then!)
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia con la chiamata segnalata return await rootCommand.InvokeAsync(args) e verifica se l’avvio o l’arresto del debug in Visual Studio 16.4.x può lasciare Invoke o InvokeAsync bloccato. Riproduci il problema e acquisisci gli stack trace; il lavoro è completato quando la causa è stata identificata e il blocco è stato documentato o risolto.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- csharp
- Ambito
- cli
- Tipo di issue
- Bug
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 15/100