Enhancing Julia Debugging: Entry Points
まだ誰も着手していません。
評価
調査の方向性
この issue には、ファイル、テスト、コードのエントリポイントが記載されていません。まず debugger のコンパイルモードにおける breakpoint 処理を特定し、次に、手動で指定したエントリポイントが赤い breakpoint に到達するまで自動 stepping を開始する方法を定義してください。提案するエントリポイントの workflow が仕様化され、関連するデバッグモードでカバーされていれば完了です。
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- Julia
- スター
- 515
- フォーク
- 50
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
JuliaDebug/Debugger.jl のほかの issue
-
tagbot-manual
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
JuliaDebug/Debugger.jl#410 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
JuliaDebug/Debugger.jl#423 · コメント 1 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
JuliaDebug/Debugger.jl#422 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
JuliaDebug/Debugger.jl#418 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 55/100
JuliaDebug/Debugger.jl#417 · コメント 1 件 ·
JuliaDebug/Debugger.jl の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
JuliaDebug/Cthulhu.jl#716 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
Review dependenciesオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
rafaqz/DimensionalData.jl#1253 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
osrep/Runes2P.jl#283 ·
メンテナーはふだん 1 日以内に返信