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

Python based REPL for debugger #28

Merged
merged 61 commits into from
Dec 26, 2024
Merged

Python based REPL for debugger #28

merged 61 commits into from
Dec 26, 2024

Conversation

simonrw
Copy link
Owner

@simonrw simonrw commented Nov 21, 2023

It would be cool if we could use the Python repl to interact with the debugger. This would give rapid interactivity that one expects from Python, but most of the heavy lifting is done by Rust.

This introduces a few interesting challenges:

  • currently the implementation assumes an async behaviour (not literally async, but events + messages), which is not valid for the Python REPL where commands should be blocking
  • how to wrap Rust in Python (easy: pyo3)

Closes #27

@simonrw simonrw self-assigned this Nov 21, 2023
@simonrw simonrw force-pushed the python-ui branch 2 times, most recently from e164489 to 8f1a275 Compare November 24, 2023 21:33
@simonrw simonrw marked this pull request as ready for review December 26, 2024 18:22
@simonrw simonrw enabled auto-merge (squash) December 26, 2024 18:22
@simonrw simonrw merged commit 8b47a07 into main Dec 26, 2024
14 checks passed
@simonrw simonrw deleted the python-ui branch December 26, 2024 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Maybe think about wrapping debugger crate in python package for interactive exploration
1 participant