processing / processing/processing4
Debugger not breaking on 4.0b8 on MacOS Monterey – Depends on file name.
Personne n'a encore pris cette issue.
- Langage dominant
- Java
- Étoiles
- 494
- Forks
- 183
- Merge moyen
- 4 h 39 min
- PR mergées (30 j)
- 3
Description
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.
Guide de contribution
Ouvrir le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Piste de recherche
Reproduisez le comportement du debugger sur macOS Monterey avec les sketches originaux et copiés de six lignes, puis comparez les noms de fichiers et les dossiers parents, y compris les noms contenant des underscores. Commencez par vérifier comment le debugger associe les breakpoints aux fichiers de sketch ; la tâche est considérée comme terminée lorsque la cause dépendante du nom de fichier a été identifiée et qu’il a été confirmé que les breakpoints fonctionnent sans renommer les fichiers.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- java
- Domaine
- devtools
- Type d'issue
- Bug
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 35/100