microsoft / vscode-jupyter

VS Code Jupyter extension
https://marketplace.visualstudio.com/items?itemName=ms-toolsai.jupyter
MIT License
1.28k stars 289 forks source link

Jupyter debug problem with vscode #16093

Open pomergranate opened 4 days ago

pomergranate commented 4 days ago

Environment data

Expected behaviour

Stop , when confronted with the breakpoint.

Actual behaviour

The program can not trigger a breakpoint, or to be exact can not run at all.

Steps to reproduce:

  1. Create a test.ipynb file in the vscode
  2. Write some codes in the cell as follows
    print('1')
    print('2')
    print('3')
    print('4')
    print('5')
    print('6')
  3. Set a breakpoint
  4. Start ' Debug Cell ' and see it freezes.

bug

Logs

None

DonJayamanne commented 3 days ago

Please could you enable logging as follows:

pomergranate commented 3 days ago

@DonJayamanne Thank you for your responses. Here are the logs. jupyter.log

pomergranate commented 3 days ago

@DonJayamanne I have searched for help on the internet for some time, and found one with a similar problem aroused by the 'typing' installation. However, the problem still remains even though I uninstalled it.