processing / processing/processing4

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

Đang mở
#486 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

help wanted lower priority pde wontfix
Ngôn ngữ chính
Java
Star
494
Fork
183
Merge trung bình
4 giờ 39 phút
Pull request đã merge (30 ngày)
3

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Tái hiện hành vi của debugger trên macOS Monterey bằng các sketch sáu dòng ban đầu và bản sao, sau đó so sánh tên tệp và các thư mục cha, bao gồm cả những tên có dấu gạch dưới. Bắt đầu bằng việc kiểm tra cách debugger liên kết các breakpoint với các tệp sketch; được xem là hoàn tất khi đã xác định nguyên nhân phụ thuộc vào tên tệp và xác nhận rằng các breakpoint hoạt động mà không cần đổi tên tệp.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
java
Lĩnh vực
devtools
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.