Enhancing Julia Debugging: Entry Points
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 25/100
Hướng nghiên cứu
Issue không nêu rõ các tệp, test hay điểm vào mã. Hãy bắt đầu bằng việc xác định phần xử lý breakpoint của debugger trong chế độ biên dịch, sau đó định nghĩa cách các điểm vào được chỉ định thủ công sẽ kích hoạt stepping tự động cho đến khi đạt một breakpoint màu đỏ. Hoàn thành nghĩa là workflow điểm vào được đề xuất đã được đặc tả và được bao phủ cho các chế độ debugging liên quan.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Debugging in Julia can be significantly enhanced, particularly in dealing with large codebases, through the introduction of entry points.
When debugging extensive Julia code, the compiled mode proves to be practically useful due to its speed and freedom from conflicts with libraries. In contrast, the non-compiled mode easily becomes impractical due to its slow performance or potential library conflicts.
However, a notable drawback of the compiled mode is that it ignores breakpoints within sub-functions. Consequently, users are required to manually navigate through the code until the relevant subfunction is reached.
When repeatedly debugging functions at a deep level, the current approach involves placing breakpoints at all calling functions, necessitating multiple manual step-ins and step-outs to reach the desired section of code. This significantly disrupts the debugging flow and makes it challenging to maintain focus on the specific problem at hand.
Consider this idea: instead of manually stepping in and out at every level, why not let the Julia Debugger handle it automatically? If, instead of setting red breakpoints at all calling functions, users could designate orange entrance points, the debugger could identify these entry points and execute step-ins and step-outs automatically until the first red breakpoint is encountered.
Introducing this feature would greatly enhance the debugging experience, providing a more streamlined and focused approach to identifying and resolving issues in the code.
Note: If you can create a function that can find the entry points on its own, we’ll have a debugger that’s as good as those in other languages, but with the speed of Julia! This would make Julia even more appealing. However, I see this as a second step. First, I strongly suggest to improve the efficiency by manually setting the entry points. Right now, debugging in Julia becomes difficult as the project gets bigger.
- Ngôn ngữ chính
- Julia
- Star
- 515
- Fork
- 50
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của JuliaDebug/Debugger.jl
-
tagbot-manual
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
JuliaDebug/Debugger.jl#410 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
JuliaDebug/Debugger.jl#423 · 1 bình luận ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
JuliaDebug/Debugger.jl#422 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
JuliaDebug/Debugger.jl#418 · 1 bình luận ·
-
Syntax highlighting warningĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 55/100
JuliaDebug/Debugger.jl#417 · 1 bình luận ·
Tất cả issue của JuliaDebug/Debugger.jl
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
JuliaDebug/Cthulhu.jl#716 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
Review dependenciesĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
rafaqz/DimensionalData.jl#1253 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
osrep/Runes2P.jl#283 ·
Maintainer thường phản hồi trong vòng 1 ngày