processing / processing/processing4

Debugger not breaking on 4.0b8 on MacOS Monterey – Depends on file name.

Aperta
#486 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

help wanted lower priority pde wontfix
Lingua principale
Java
Stelle
494
Fork
183
Merge medio
4h 39m
PR unite (30g)
3

Descrizione

Created by: alsmithson

  • I opened a sketch written by someone else and tried to use the debugger. It would not break on any line.
  • I reduced the code down to 6 simple lines and it still would not break.
  • I copy/pasted the code to a new, blank sketch, and breakpoints did work.
  • After saving both files that only had 6 lines of code, I looked at the code with Atom and DiffMerge. Neither could find a difference except for the file name.
  • I renamed the two files to good.pde and bad.pde and renamed their parent folders to match. Now both sketches break correctly.

I have another sketch by the same author with the same behavior. I could not see anything odd in the file name (though it did use underscores). I copy/pasted the file name into Atom and looked at the Hex code. Nothing was out of place, but I’m not sure my Mac did not do a conversion in the clipboard. The author speaks Spanish and lives in the Canary Islands, so maybe his keyboard is different from mine.

I have a workaround (renaming all files), but I wanted to report this odd behavior.

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.

Direzione di ricerca

Riproduci il comportamento del debugger su macOS Monterey utilizzando gli sketch originali e copiati di sei righe, quindi confronta i nomi dei file e le cartelle principali, inclusi i nomi con underscore. Inizia verificando come il debugger associa i breakpoint ai file di sketch; il lavoro è completato quando è stata identificata la causa dipendente dal nome del file e confermato che i breakpoint funzionano senza rinominare i file.

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

Valutazione

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

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.