`next` command just before `debugger do:` method

Aperta
#874 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
ruby
Ambito
devtools

Direzione di ricerca

Reproduce the issue with the provided Ruby snippet and the next command, then inspect how debugger do: enters a new subsession and cancels stepping. Compare the behavior with until and fin. Done means next from line 1 stops at line 2 instead of continuing past it.

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

Descrizione

bug

(same as until and fin)

debugger do: 'p 1'
p 1

Stopping at the line 1, type next and it doesn't stop at the line 2.

This is because debugger do: method entering the new subsession and it cancels next command stepping feature, and continue just after p 1 debug command.

It is clearly a bug but now I have no good solution, so I left this ticket.

Lingua principale
Ruby
Stelle
1.3k
Fork
146
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Apri la guida per i contributori

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 ruby/debug

Tutte le issue di ruby/debug

Issue simili

Altre issue su Ruby

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.