toString() Object View should catch exceptions, or default to false
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 42/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- java, typescript, vscode
- Ambito
- devtools
Direzione di ricerca
L'issue non indica alcun file sorgente, test o punto di ingresso; riproducila nella Variables View con Enable toString() Object View abilitato, quindi traccia il percorso di valutazione di toString() del debugger. Il lavoro è completato quando ogni variabile rimane espandibile e ispezionabile anche se il suo toString() genera un'eccezione, e il comportamento è coperto da un apposito test di regressione.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
When using the vscode java debugger, the experience can be really bad because some variables cannot be inspected seemingly for no reason. This gives the impression that the extension is still very buggy. It took me a long time to find out that disabling the toString() Object View solves that problem.
Likely there are exceptions thrown during toString() execution for those variables. These should either be caught, or the default for "Enable toString() Object View" should be false.
Environment
- Operating System: MacOS Ventura 13.2
- JDK version: debugee is OpenJDK Runtime Environment Homebrew (build 11.0.18+0)
- Visual Studio Code version: 1.75.1 (Universal) Commit: 441438abd1ac652551dbe4d408dfcec8a499b8bf
- Java extension version: v1.14.0
- Java Debugger extension version: 0.48.0 - 2023-02-01
Steps To Reproduce
- set a breakpoint and look at Variables View, where some variables cannot be inspected

- set "Enable toString() Object View" to false

- Now the variables can be expanded:

Current Result
Some variables cannot be inspected
Expected Result
It should be possible to inspect all variables, regardless of whether their toString() method throws an exception
- Lingua principale
- TypeScript
- Stelle
- 591
- Fork
- 429
- Merge medio
- 1g 9h
- PR unite (30g)
- 19
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.
Altre issue di microsoft/vscode-java-debug
-
ai-triaged enhancement
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
microsoft/vscode-java-debug#1689 · 2 commenti ·
-
ai-triaged bug
microsoft/vscode-java-debug#1666 · 1 commento · 1 assegnatario ·
-
ai-triaged bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 48/100
microsoft/vscode-java-debug#1658 · 1 commento ·
-
ai-triaged enhancement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
microsoft/vscode-java-debug#1628 · 3 commenti ·
-
Feature support. Apertaai-triaged enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
microsoft/vscode-java-debug#1616 · 1 commento ·
Tutte le issue di microsoft/vscode-java-debug
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
safetrustcr/dApp-SafeTrust#426 ·
-
area:workflow bug ready-for-agent
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
fil-donadoni/tolaria#4409 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
Fission-AI/OpenSpec#1960 ·
-
Add dependabot Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
corsairdev/corsair#1764 ·