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

aggdraw.Draw causes kernel to die, not in web interface, only in VS Code #14243

Open
2 tasks done
danielfaust opened this issue Sep 1, 2023 · 15 comments
Open
2 tasks done
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug freeze-slow-crash-leak VS Code crashing, performance, freeze and memory leak issues variable-explorer
Milestone

Comments

@danielfaust
Copy link

danielfaust commented Sep 1, 2023

Applies To

  • Notebooks (.ipynb files)
  • Interactive Window and/or Cell Scripts (.py files with #%% markers)

What happened?

After installing aggdraw in a conda environment via conda install -c conda-forge aggdraw I had the following issue:

I ran this cell

import aggdraw
# print('aggdraw version', aggdraw.__version__) # = 1.3.16
d = aggdraw.Draw("RGB", (100, 100), (0,0,0))

and after a very short time the kernel died. Same happens when I use agg_draw = aggdraw.Draw(pil_image).

The result was The Kernel crashed while executing code in the the current cell or a previous cell. Please review the code in the cell(s) to identify a possible cause of the failure. Click [here](https://aka.ms/vscodeJupyterKernelCrash) for more info. View Jupyter [log](command:jupyter.viewOutput) for further details.

It is possible to use the cell for complex drawing and a following cell to print some text even after using time.sleep(5), but sooner or later the message of the crashed kernel comes up and then it's no longer possible to re-run the notebook.

Clicking "Restart" hangs up the restarting task, it stays at "Restarting Kernel: Python 3.11". I then need to remove the kernel via the web ui because the small "Restarting Kernel" notification offers no way to abort this.

VS Code is running locally on Windows (192.168.30.41), the Jupyter instance is running on a Linux server (192.168.30.25), to which VS Code is also connected via the SSH Extension (Visual Studio Code Remote).

miniconda got installed around 3 days ago.

VS Code Version

Version: 1.81.1 (user setup) Commit: 6c3e3dba23e8fadc360aed75ce363ba185c49794 Date: 2023-08-09T22:22:42.175Z Electron: 22.3.18 ElectronBuildId: 22689846 Chromium: 108.0.5359.215 Node.js: 16.17.1 V8: 10.8.168.25-electron.0 OS: Windows_NT x64 10.0.22621

Jupyter Extension Version

v2023.7.1002162226

Jupyter logs

[D 2023-09-02 00:43:55.831 ServerApp] Accepting token-authenticated request from 192.168.30.41
[D 2023-09-02 00:43:55.832 ServerApp] 200 GET /api/sessions?1693608235866 ([email protected]) 1.12ms
[D 2023-09-02 00:43:55.832 ServerApp] Accepting token-authenticated request from 192.168.30.41
[D 2023-09-02 00:43:55.838 ServerApp] 200 GET /api/contents/notebooks/Mapping?content=1&1693608235866 ([email protected]) 7.19ms
[I 2023-09-02 00:43:56.189 ServerApp] AsyncIOLoopKernelRestarter: restarting kernel (1/5), keep random ports
[W 2023-09-02 00:43:56.189 ServerApp] kernel c74a501a-185c-4460-a98b-856f5d262c4c restarted
[D 2023-09-02 00:43:56.192 ServerApp] Websocket closed c74a501a-185c-4460-a98b-856f5d262c4c:7fb8392c-61ee-4454-a288-79098c81f89b
[I 2023-09-02 00:43:56.192 ServerApp] Starting buffering for c74a501a-185c-4460-a98b-856f5d262c4c:7fb8392c-61ee-4454-a288-79098c81f89b
[D 2023-09-02 00:43:56.192 ServerApp] Clearing buffer for c74a501a-185c-4460-a98b-856f5d262c4c
[D 2023-09-02 00:43:56.195 ServerApp] Accepting token-authenticated request from 192.168.30.25
[D 2023-09-02 00:43:56.196 ServerApp] Generating new user for token-authenticated request: 2c09be001d1c46848ac775834800c1e4
[D 2023-09-02 00:43:56.201 ServerApp] Starting kernel: ['/home/user/miniconda3/envs/gdal/bin/python3', '-m', 'ipykernel_launcher', '-f', '/home/user/.local/share/jupyter/runtime/kernel-c74a501a-185c-4460-a98b-856f5d262c4c.json']
[D 2023-09-02 00:43:56.204 ServerApp] Connecting to: tcp://127.0.0.1:43485
[D 2023-09-02 00:43:56.205 ServerApp] 101 GET /api/kernels/c74a501a-185c-4460-a98b-856f5d262c4c/channels?session_id=7fb8392c-61ee-4454-a288-79098c81f89b&token=[secret] ([email protected]) 10.12ms
[D 2023-09-02 00:43:56.206 ServerApp] Opening websocket /api/kernels/c74a501a-185c-4460-a98b-856f5d262c4c/channels
[I 2023-09-02 00:43:56.206 ServerApp] Connecting to kernel c74a501a-185c-4460-a98b-856f5d262c4c.
[D 2023-09-02 00:43:56.206 ServerApp] Getting buffer for c74a501a-185c-4460-a98b-856f5d262c4c
[I 2023-09-02 00:43:56.206 ServerApp] Restoring connection for c74a501a-185c-4460-a98b-856f5d262c4c:7fb8392c-61ee-4454-a288-79098c81f89b
[D 2023-09-02 00:43:56.206 ServerApp] Nudge: not nudging busy kernel c74a501a-185c-4460-a98b-856f5d262c4c
0.00s - Debugger warning: It seems that frozen modules are being used, which may
0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off
0.00s - to python to disable frozen modules.
0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation.
[D 2023-09-02 00:43:56.562 ServerApp] activity on c74a501a-185c-4460-a98b-856f5d262c4c: status (busy)
[D 2023-09-02 00:43:56.563 ServerApp] activity on c74a501a-185c-4460-a98b-856f5d262c4c: status (idle)
[D 2023-09-02 00:43:56.569 ServerApp] activity on c74a501a-185c-4460-a98b-856f5d262c4c: status (busy)
[D 2023-09-02 00:43:56.576 ServerApp] activity on c74a501a-185c-4460-a98b-856f5d262c4c: execute_input
[D 2023-09-02 00:43:56.580 ServerApp] activity on c74a501a-185c-4460-a98b-856f5d262c4c: stream
[D 2023-09-02 00:43:56.581 ServerApp] activity on c74a501a-185c-4460-a98b-856f5d262c4c: status (idle)
[D 2023-09-02 00:44:05.741 ServerApp] Accepting token-authenticated request from 192.168.20.25
[D 2023-09-02 00:44:05.741 ServerApp] Generating new user for token-authenticated request: 0dd7402b8a7042068fe8ff0b45ed9bce
[D 2023-09-02 00:44:05.741 ServerApp] 200 GET /api/kernels?1693608245737 ([email protected]) 1.27ms
[D 2023-09-02 00:44:05.742 ServerApp] Accepting token-authenticated request from 192.168.20.25

Coding Language and Runtime Version

Python 3.11.4 (main, Jul 5 2023, 13:45:01) [GCC 11.2.0] on linux

Language Extension Version (if applicable)

Python v2023.14.0

Anaconda Version (if applicable)

conda 23.5.2 (miniconda latest, Python 3.11)

Running Jupyter locally or remotely?

Remote

@danielfaust danielfaust added the bug Issue identified by VS Code Team member as probable bug label Sep 1, 2023
@DonJayamanne
Copy link
Contributor

Please could you enable logging as follows:

  • Open settings & go into Jupyter->Logging
  • Change the value to verbose
  • Reload VS Code,
  • Attempt to repro the issue & then copy the output from the Jupyter output panel.

@DonJayamanne DonJayamanne assigned DonJayamanne and unassigned amunger Sep 1, 2023
@DonJayamanne DonJayamanne added the info-needed Issue requires more information from poster label Sep 1, 2023
@danielfaust
Copy link
Author

danielfaust commented Sep 2, 2023

Hi @DonJayamanne, here you go:

Visual Studio Code (1.81.1, ssh-remote, desktop)
Jupyter Extension Version: 2023.7.1002162226.
Python Extension Version: 2023.14.0.
Platform: linux (x64).
Workspace folder ~/python/jupyter/notebooks, Home = /home/user
09:36:43.905 [info] Telemetry is disabled
09:36:43.906 [info] Telemetry level is off
09:36:43.906 [info] Experiments are disabled, only manually opted experiments are active.
09:36:44.153 [info] Start refreshing Interpreter Kernel Picker (1693640204153)
09:36:44.166 [info] Using Pylance
09:36:44.846 [info] Loading webview. View is notset
09:36:44.847 [info] Loading web view...
09:36:44.848 [info] Webview panel created.
09:36:45.190 [warn] No interpreter with path ~/miniconda3/envs/gdal/bin/python3 found in Python API, will convert Uri path to string as Id ~/miniconda3/envs/gdal/bin/python3
09:36:45.191 [warn] No interpreter with path ~/python/venvs/p3-pki-2022-05-09/bin/python3 found in Python API, will convert Uri path to string as Id ~/python/venvs/p3-pki-2022-05-09/bin/python3
09:36:45.314 [info] Web view react rendered
09:36:45.543 [warn] Failed to get activated env vars for ~/.pyenv/versions/3.10.7/bin/python in 350ms
09:36:45.544 [error] Unable to determine site packages path for python ~/.pyenv/versions/3.10.7/bin/python (Pyenv)
09:36:45.557 [info] Process Execution: ~/.pyenv/versions/3.10.7/bin/python -m pip list
09:36:47.103 [info] End refreshing Interpreter Kernel Picker (1693640204153)
09:36:56.194 [info] Handle Execution of Cells 0 for ~/python/jupyter/notebooks/Mapping/Aggdraw-Memory-Test.ipynb
09:36:56.196 [info] Starting Kernel startUsingRemoteKernelSpec, 184b11b7311271c053b<username>f8bc12cca1fc5c208be3395f5de8fd3696dcb773871..gdal.~/miniconda3/envs/gdal/bin/python3./.-m#ipykernel_launcher  for '~/python/jupyter/notebooks/Mapping/Aggdraw-Memory-Test.ipynb' (disableUI=false)
09:36:56.651 [info] Started new session 77717b32-fee8-4d15-9733-6c68a9ede8<username>
09:36:56.652 [info] Started session for kernel startUsingRemoteKernelSpec:184b11b7311271c053b<username>f8bc12cca1fc5c208be3395f5de8fd3696dcb773871..gdal.~/miniconda3/envs/gdal/bin/python3./.-m#ipykernel_launcher
09:36:56.735 [info] Kernel acknowledged execution of cell 0 @ 1693640216721
09:36:56.781 [info] End cell 0 execution @ 1693640216738, started @ 1693640216721, elapsed time = 0.017s
09:36:56.821 [info] End refreshing Interpreter Kernel Picker (1693640204153)
09:36:59.286 [error] Jupyter Extension (Error in requestVariables, method:requestVariables): Error: Canceled future for execute_request message before replies were done
    at t.KernelShellFutureHandler.dispose (~/.vscode-server/extensions/ms-toolsai.jupyter-2023.7.1002162226-linux-x64/out/extension.node.js:2:32375)
    at ~/.vscode-server/extensions/ms-toolsai.jupyter-2023.7.1002162226-linux-x64/out/extension.node.js:2:26594
    at Map.forEach (<anonymous>)
    at v._clearKernelState (~/.vscode-server/extensions/ms-toolsai.jupyter-2023.7.1002162226-linux-x64/out/extension.node.js:2:26579)
    at ~/.vscode-server/extensions/ms-toolsai.jupyter-2023.7.1002162226-linux-x64/out/extension.node.js:2:29022
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
09:36:59.367 [info] End cell 0 execution @ undefined, started @ 1693640216738, elapsed time = -1693640216.738s

BTW: The message The Kernel crashed while executing code in the the current cell or a previous cell. Please review the code in the cell(s) to identify a possible cause of the failure. Click [here](https://aka.ms/vscodeJupyterKernelCrash) for more info. View Jupyter [log](command:jupyter.viewOutput) for further details. appears twice after executing the cell.

@DonJayamanne
Copy link
Contributor

causes kernel to die, not in web interface, only in VS Code

based on the logs you are running the code against a remote Jupyter kernel.

I find I it hard to understand how it didn’t fail when you run the same code outside vscode, as is the exact same environment

Can you code the variables view on the bottom of your screen. I think that panel is open, please close that and try again
It’s possible that’s thinking some code that causes the crash

@danielfaust
Copy link
Author

danielfaust commented Sep 2, 2023

"Can you code the variables view": I assume this was a typo.

You are correct. The variable view was open and when I closed it the error disappeared.

The lower-right popup-notification The kernel 'Python 3.11 -- gdal' died and is being automatically restarted by Jupyter. Click [here](https://aka.ms/vscodeJupyterKernelCrash) for more info. View Jupyter [log](command:jupyter.viewOutput) for further details. no longer appears.

Without the variables view the UI is consistent and healthy.

Furthermore, if I replace d = aggdraw.Draw("RGB", (100, 100), (0,0,0)) with aggdraw.Draw("RGB", (100, 100), (0,0,0)) (not assigning it to a variable) while the variable view is open, then the error won't appear.


But: If I then add the assignment to a variable and re-run the cell, then the variables view will show name:d type:draw value:<Draw object at...> and it will apparently re-run the cell without problems (most of the time).

The following won't cause the kernel to die:

Cell 1:

import aggdraw
aggdraw.Draw("RGB", (1, 1), (0,0,0))
# even `aggdraw.Draw("RGB", (0, 0), (0,0,0))` works

Cell 2:

d = aggdraw.Draw("RGB", (100, 100), (0,0,0))

Then Run-All. Then the variables view can stay open and will show d

@danielfaust
Copy link
Author

Regarding the last added information with the two cells: This works in a simple notebook, but not in a larger one. In any case, closing the variable view "fixes" the issue 100%.

@DonJayamanne DonJayamanne added variable-explorer kernel-crash and removed info-needed Issue requires more information from poster labels Sep 7, 2023
@DonJayamanne DonJayamanne added this to the Backlog milestone Dec 4, 2023
@DonJayamanne DonJayamanne removed their assignment Dec 5, 2023
@DonJayamanne
Copy link
Contributor

DonJayamanne commented Dec 7, 2023

@danielfaust Are you still running into this issue with the latest version of Jupyter exetnsion?
I'm unable to repro this at my end.

If you can still repro this, please can you share the following logs
Please could you enable logging as follows:

  • Open settings & go into Jupyter->Logging
  • Change the value to verbose
  • Reload VS Code,
  • Attempt to repro the issue & then copy the output from the Jupyter output panel.

@DonJayamanne DonJayamanne added the info-needed Issue requires more information from poster label Dec 7, 2023
@DonJayamanne DonJayamanne self-assigned this Dec 7, 2023
@danielfaust
Copy link
Author

danielfaust commented Dec 7, 2023

@DonJayamanne this is still happening ( extension version: v2023.10.1100000000 ):

# clearing all logs and restarting the kernel
22:53:03.023 [debug] Restart kernel command handler for ~/python/jupyter/notebooks/Mapping/Aggdraw-Test.ipynb
22:53:03.023 [debug] restart the kernel, options.disableUI=false for ~/python/jupyter/notebooks/Mapping/Aggdraw-Test.ipynb
22:53:03.023 [info] Restart requested ~/python/jupyter/notebooks/Mapping/Aggdraw-Test.ipynb
22:53:03.024 [debug] Cancel pending cells
22:53:03.160 [debug] Updating preferred kernel for remote notebook 6e451405-1639-472a-9b44-d7cd8d3a08ca
22:53:03.160 [info] Restarted 6e451405-1639-472a-9b44-d7cd8d3a08ca
22:53:03.160 [debug] Storing Preferred remote kernel for ~/python/jupyter/notebooks/Mapping/Aggdraw-Test.ipynb is 6e451405-1639-472a-9b44-d7cd8d3a08ca
22:53:03.160 [debug] Started running kernel initialization for ~/python/jupyter/notebooks/Mapping/Aggdraw-Test.ipynb
22:53:03.160 [debug] Executing silently Code (unknown) = try:\nimport ipywidgets as _VSCODE_ipywidgets\nprint("e976ee50-99ed-4aba-9b6b-9dcd5634d07d:IPy
22:53:03.500 [debug] Executing silently Code (completed) = try:\nimport ipywidgets as _VSCODE_ipywidgets\nprint("e976ee50-99ed-4aba-9b6b-9dcd5634d07d:IPy with 0 output(s)
22:53:03.500 [debug] Determined IPyWidgets Version as undefined and event fired
22:53:03.501 [debug] Executing silently Code (idle) = __vsc_ipynb_file__ = "~/python/jupyter/notebooks/Mapping/Aggdraw-Test.ipynb"\n%config Complete
22:53:03.506 [debug] Executing silently Code (completed) = __vsc_ipynb_file__ = "~/python/jupyter/notebooks/Mapping/Aggdraw-Test.ipynb"\n%config Complete with 0 output(s)
22:53:03.506 [debug] Requesting Kernel info
22:53:03.507 [debug] Got Kernel info
22:53:03.507 [debug] End running kernel initialization, now waiting for idle
22:53:03.507 [debug] Waiting for 60000ms idle on (kernel): 6e451405-1639-472a-9b44-d7cd8d3a08ca -> idle
22:53:03.507 [debug] Finished waiting for idle on (kernel): 6e451405-1639-472a-9b44-d7cd8d3a08ca -> idle
22:53:03.507 [debug] End running kernel initialization, session is idle
22:53:03.507 [debug] Registering commtarget jupyter.widget
# performing a run-all
22:53:11.557 [info] Handle Execution of Cells 0 for ~/python/jupyter/notebooks/Mapping/Aggdraw-Test.ipynb
22:53:11.558 [debug] start the kernel, options.disableUI=false for ~/python/jupyter/notebooks/Mapping/Aggdraw-Test.ipynb
22:53:11.558 [debug] Execution Request Sent to Kernel for cell 0
22:53:11.568 [debug] Start cell 0 execution @ 1701985991568 (clear output)
22:53:11.568 [info] Kernel acknowledged execution of cell 0 @ 1701985991568
22:53:11.589 [info] End cell 0 execution @ 1701985991589, started @ 1701985991568, elapsed time = 0.021s
22:53:11.590 [debug] Cell 0 executed with state Success
22:53:11.671 [debug] Executing silently Code (idle) = def _VSCODE_getVariable(what_to_get, is_debugging, *args):\n# Query Jupyter server for the info a
22:53:12.146 [debug] Start cell 0 execution @ 1701985991589
22:53:12.147 [error] Jupyter Extension (Error in requestVariables, method:requestVariables): Error: Canceled future for execute_request message before replies were done
    at t.KernelShellFutureHandler.dispose (~/.vscode-server/extensions/ms-toolsai.jupyter-2023.10.1100000000-linux-x64/out/extension.node.js:2:32375)
    at ~/.vscode-server/extensions/ms-toolsai.jupyter-2023.10.1100000000-linux-x64/out/extension.node.js:2:26594
    at Map.forEach (<anonymous>)
    at y._clearKernelState (~/.vscode-server/extensions/ms-toolsai.jupyter-2023.10.1100000000-linux-x64/out/extension.node.js:2:26579)
    at ~/.vscode-server/extensions/ms-toolsai.jupyter-2023.10.1100000000-linux-x64/out/extension.node.js:2:29022
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
22:53:12.222 [info] End cell 0 execution @ undefined, started @ 1701985991589, elapsed time = -1701985991.589s
22:53:12.257 [debug] Executing silently Code (unknown) = def _VSCODE_getVariable(what_to_get, is_debugging, *args):\n# Query Jupyter server for the info a

This cell is the only one in the notebook:

import aggdraw
from PIL import Image, ImageDraw
 
print('aggdraw version', aggdraw.__version__)
# aggdraw version 1.3.12 -- on aiohttp
# aggdraw version 1.3.16 -- in conda

# WARN `USE_AGGDRAW = True` causes the kernel to crash 
USE_AGGDRAW = True

img = Image.new("RGB", (256, 256), "white")

if USE_AGGDRAW:
    agg_draw = aggdraw.Draw(img)
else:
    draw = ImageDraw.Draw(img)

# Diagonal line
p1 = (0,0)
p2 = (255,255)

if USE_AGGDRAW:
    pen = aggdraw.Pen(color=(255,0,0), width=10, opacity=127)
    agg_draw.line((p1[0], p1[1], p2[0], p2[1]), pen)
else:
    draw.line([p1, p2], fill="red", width=10)

if USE_AGGDRAW:
    agg_draw.flush()

display(img)

and outputs this result:

aggdraw version 1.3.16

[image correctly rendered]

The Kernel crashed while executing code in the the current cell or a previous cell. Please review the code in the cell(s) to identify a possible cause of the failure. Click [here](https://aka.ms/vscodeJupyterKernelCrash) for more info. View Jupyter [log](command:jupyter.viewOutput) for further details.

It still applies that if the "Variables"-panel is collapsed, then the Kernel doesn't crash.

Turns out that running only the following cell no longer triggers a Kernel crash, so apparently now the behavior is different:

import aggdraw
# print('aggdraw version', aggdraw.__version__) # = 1.3.16
d = aggdraw.Draw("RGB", (100, 100), (0,0,0))

This small cell used to cause the problem as well.

I noticed that in the example cell which does cause a crash, the "Variables"-panel does not show any variables at all ("no variables defined")

@DonJayamanne
Copy link
Contributor

Plese can you try the following:

  • Start jupyter on the same machine (i think wsl)
  • Launch jupyter and run the same code
  • If it crashes, please share logs from terminal

@danielfaust
Copy link
Author

danielfaust commented Dec 7, 2023

VS code is running on one machine (Windows) and Jupyter on another one (in a Linux VM hosted on a server) which I access via the SSH Remote extension.

When I use Jupyter's web interface via http://host:port/lab/tree/notebooks/Mapping/Aggdraw-Test.ipynb then the Kernel does not crash.

I'm not sure if I understood you correctly, if you want me to move the Jupyter server locally to the machine. But even then I'd run it in WSL which would basically be the same as running it remotely (I don't use WSL at all). I would not want to install Jupyter and all the dependencies of the environment in which that Kernel is running in onto another machine.

But what I just tested was running another instance of VS code inside a Ubuntu Desktop VM on the Windows machine and have it use the same remote Jupyter instance. The same error happens in this Ubuntu VM, so all I can tell you is that it is not a Windows-only issue.

@DonJayamanne
Copy link
Contributor

When I use Jupyter's web interface via http://host:port/lab/tree/notebooks/Mapping/Aggdraw-Test.ipynb then the Kernel does not crash.

Yes thats what I wanted you to try.
thats fine, you do not need to do anything else.

thanks
I will follow this at my end.

@DonJayamanne
Copy link
Contributor

Btw, I can now replicate this at my end

@DonJayamanne
Copy link
Contributor

Steps to repro

  • Run the following code
import aggdraw
from PIL import Image, ImageDraw
 
print('aggdraw version', aggdraw.__version__)
# aggdraw version 1.3.12 -- on aiohttp
# aggdraw version 1.3.16 -- in conda

# WARN `USE_AGGDRAW = True` causes the kernel to crash 
USE_AGGDRAW = True

img = Image.new("RGB", (256, 256), "white")

if USE_AGGDRAW:
    agg_draw = aggdraw.Draw(img)
else:
    draw = ImageDraw.Draw(img)

# Diagonal line
p1 = (0,0)
p2 = (255,255)

if USE_AGGDRAW:
    pen = aggdraw.Pen(color=(255,0,0), width=10, opacity=127)
    agg_draw.line((p1[0], p1[1], p2[0], p2[1]), pen)
else:
    draw.line([p1, p2], fill="red", width=10)

if USE_AGGDRAW:
    agg_draw.flush()

display(img)
  • Run the code globals()

@DonJayamanne
Copy link
Contributor

DonJayamanne commented Dec 8, 2023

Looks like its caused by pytroll/aggdraw#58

Basically trying to inspect the details of the pen variable causes the crash.

@DonJayamanne DonJayamanne assigned amunger and unassigned DonJayamanne Dec 8, 2023
@DonJayamanne DonJayamanne removed the info-needed Issue requires more information from poster label Dec 8, 2023
@danielfaust
Copy link
Author

danielfaust commented Dec 8, 2023

You're right. I just enabled debugging in Jupyter (which I had to do twice), and then, when running the cell, the kernel crashes.

Thank you for your help and my apologies for not having checked this.

@DonJayamanne
Copy link
Contributor

Thank you for your help and my apologies for not having checked this.

No need to apologise, that’s why we ask these questions
Thank you for your cooperation

@DonJayamanne DonJayamanne added the freeze-slow-crash-leak VS Code crashing, performance, freeze and memory leak issues label Dec 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug freeze-slow-crash-leak VS Code crashing, performance, freeze and memory leak issues variable-explorer
Projects
None yet
Development

No branches or pull requests

3 participants