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

Integrate with Jupyter/IPython #318

Open
1 of 3 tasks
osandov opened this issue Jul 3, 2023 · 1 comment
Open
1 of 3 tasks

Integrate with Jupyter/IPython #318

osandov opened this issue Jul 3, 2023 · 1 comment
Labels
help wanted Seeking volunteers

Comments

@osandov
Copy link
Owner

osandov commented Jul 3, 2023

The standard Python REPL isn't the most convenient for long debugging sessions. Specifically, editing multi-line blocks sucks, and reusing anything that you came up with for future debugging sessions is tedious. @htejun experimented with Jupyter and found that it is super useful in conjunction with drgn thanks to its persistent, reusable cells:

FZ5_Md5UcAAfJvQ

It's possible to wire up drgn and Jupyter together today, but we should explore integrating them more and documenting it.

@shunghsiyu
Copy link
Contributor

shunghsiyu commented Jul 4, 2023

One thing I’ve meant to do for awhile (but haven’t found the time) is to host a mini kernel core dump and its deubginfo alongside a Jupiter notebook showcasing drgn somewhere.

That way people can just open the notebook with Google Colab and jump straight into learning kernel debugging interactively.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Seeking volunteers
Projects
Status: Todo
Development

No branches or pull requests

2 participants