microsoft / microsoft/vscode-java-debug
Support method and field access breakpoints via source editor and Outline view
Nessuno ha ancora preso questa issue.
- Lingua principale
- TypeScript
- Stelle
- 591
- Fork
- 429
- Merge medio
- 1g 9h
- PR unite (30g)
- 19
Descrizione
JDI supports Constructor, Methods entry and exit (normal return or exceptional return) and Field (access and modification) breakpoints. Support these via:
- the source editor
- decompiled .class source editor
However, the best place to support this is via the Outline view. This is because the Outline view shows the structure of the .class files (even if the de-compilation was not possible) as well, not only .java files. Also outline view can support direct and easy setting of these breakpoints.
I am aware of FQCN#method mechanism for adding method breakpoints buy it is not clear how to set this for overloaded methods.
Also CTOR and method breakpoints are useful when the source line numbers do not match the actual compiled class bytecode exactly but is in the neoghborhood.
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
Esamina come l’editor del codice sorgente, l’editor del codice sorgente .class decompilato e la Outline view espongono attualmente gli elementi Java e i breakpoint. Definisci il supporto per i breakpoint JDI di costruttore, ingresso/uscita dai metodi e accesso/modifica dei campi, inclusi i metodi sovraccaricati, facendo in modo che la Outline view copra le classi la cui decompilazione non riesce; verifica il comportamento in ciascuna vista richiesta.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- java, typescript
- Ambito
- devtools
- Tipo di issue
- Funzionalità
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100