processing / processing/processing4
Debugger not breaking on 4.0b8 on MacOS Monterey – Depends on file name.
まだ誰も着手していません。
- 主要言語
- Java
- スター
- 494
- フォーク
- 183
- 平均マージ
- 4時間 39分
- マージ済み PR(30日)
- 3
説明
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.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
macOS Monterey 上で、元の6行のスケッチとコピーした6行のスケッチを使って debugger の動作を再現し、その後、アンダースコアを含む名前も含めて、ファイル名と親フォルダーを比較します。まず、debugger がブレークポイントをスケッチファイルにどのように関連付けるかを確認します。ファイル名に依存する原因を特定し、ファイル名を変更しなくてもブレークポイントが機能することを確認できれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java
- 領域
- devtools
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 35/100