Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Support SteppingGranularity "block"

Aperta
#356 0 commenti 0 reazioni 2 assegnatari Vedi su GitHub

@roblourens ci sta già lavorando.

Dal 18/11/2022.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

feature-request

DAP supports SteppingGranularity, which is defined as

type SteppingGranularity = 'statement' | 'line' | 'instruction';

However, some debuggers like LLDB support stepping to the end of a block. From LLDB help:

$ help thread step-over
       -e <linenum> ( --end-linenumber <linenum> )
            The line at which to stop stepping - defaults to the next line and only supported for step-in and step-over.  You can also pass the string
            'block' to step to the end of the current block.  This is particularly use  in conjunction with --step-target to step through a complex
            calling sequence.

So the following steps to the end of the current block:

thread step-over -e block

Could this "block" verb be added to SteppingGranularity?

Lingua principale
HTML
Stelle
1.8k
Fork
173
Merge medio
7g 7h
PR unite (30g)
2

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/debug-adapter-protocol

Tutte le issue di microsoft/debug-adapter-protocol

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.