Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[unpickler.py] ブレークポイントはインデックスと関数をセットで指定する #8

Closed
Xornet-Euphoria opened this issue Oct 5, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@Xornet-Euphoria
Copy link
Owner

現状はインデックスだけをset_breakpointに指定し、breakpoint_hookをオーバーライドしてその中でipで分岐するという使いづらい設計になっている

@Xornet-Euphoria Xornet-Euphoria added the enhancement New feature or request label Oct 6, 2024
@Xornet-Euphoria
Copy link
Owner Author

fb258ea で対応

set_breakpoint(idx, f)という形式でフックを設定

@Xornet-Euphoria
Copy link
Owner Author

デフォルトのフックがまだメッセージを出力するだけで、到達可能性をテストする以外の使い方が無いため、対話可能なインターフェイスを生やしてスタックやメモの中身をダンプ出来るようにしたい

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant