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

Debugging cells in the interactive window will show the 'temp hashed file' if you restart the kernel #7366

Closed
Tracked by #7168
rchiodo opened this issue Aug 31, 2021 · 5 comments · Fixed by #7497
Closed
Tracked by #7168
Labels
bug Issue identified by VS Code Team member as probable bug interactive-window Impacts interactive window interactive-window-debugging verified Verification succeeded

Comments

@rchiodo
Copy link
Contributor

rchiodo commented Aug 31, 2021

Latest stable

Repro steps:

  1. Open py file with a bunch of cell delimiters
  2. Send a cell to the interactive window
  3. Restart the kernel
  4. Debug a cell

This will come up:

image

@rchiodo rchiodo added the bug Issue identified by VS Code Team member as probable bug label Aug 31, 2021
@rchiodo rchiodo changed the title Debugging cells in the interactive window will show the 'temp hashed file' if you run any code in the input box Debugging cells in the interactive window will show the 'temp hashed file' if you restart the kernel Aug 31, 2021
@greazer greazer added this to the September 2021 milestone Sep 2, 2021
@joyceerhl joyceerhl mentioned this issue Sep 7, 2021
17 tasks
@joyceerhl
Copy link
Contributor

@rchiodo I can't repro this in Insiders now, can you?

@rchiodo
Copy link
Contributor Author

rchiodo commented Sep 13, 2021

Yeah still repros for me.

@rchiodo
Copy link
Contributor Author

rchiodo commented Sep 13, 2021

Steps I followed:

  1. Run a cell with ipykernel 5 or so
  2. Debug same cell
  3. Debug same cell again
  4. Restart kernel
  5. Debug same cell

Error happens

@joyceerhl
Copy link
Contributor

Thanks that worked. Problem was I had ipykernel 6.

@joyceerhl
Copy link
Contributor

Problem AFAIK is the onKernelRestarted method wasn't hooked up.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 21, 2021
@DonJayamanne DonJayamanne added the verified Verification succeeded label Sep 29, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug interactive-window Impacts interactive window interactive-window-debugging verified Verification succeeded
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants