-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Debugger crashes when trying to view Variables pane that contains xarray.DataArray #15816
Comments
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗 |
Can you provide a smaller reproducer that could be run without installing additional packages? How does the crash look like? Does the kernel die and UI remains responsive, or does the UI freeze? |
@rbavery Can you please provide answers to @krassowski 's questions from earlier? Thanks! |
Hey sorry I missed this!
The UI freezes, there is no kernel died error. The reproducer requires xarray I'm pretty sure, The issue didn't come up when stepping through a simple program with no external libraries. the other libraries are required to request the xarray DataArray. This week I'm a bit slammed and it would take me too much effort to create an xarray from scratch and try to change it in a way that reproduces the issue. Maybe at a later date I can revisit making a smaller reproducer, but this snippet I provided can be run after
|
Description
When I set a breakpoint in the code below, the breakpoint is reached but viewing the Variables pane crashes the kernel.
Here is my breakpoint and variables pane before the crash. The variable
xarr
lazily refers to the actual data, so memory use is very low at the breakpoint so this doesn't seem like a OOM error.After opening the variables pane, my screen freezes, mouse movement stutters and my kernel crashes after about a minute. This does not happen when running the code without a debugger.
Reproduce
Expected behavior
No crash
Context
Troubleshoot Output
body is too long to submit issue if I include the outputCommand Line Output
the output is too long to copy. at a glance there are no warnings or errors.Browser Output
I can't access this during the crashThe text was updated successfully, but these errors were encountered: