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

Debugger stops after 1 second of launching #142384

Closed
Engensmax opened this issue Feb 7, 2022 · 9 comments
Closed

Debugger stops after 1 second of launching #142384

Engensmax opened this issue Feb 7, 2022 · 9 comments
Labels
*caused-by-extension Issue identified to be caused by an extension

Comments

@Engensmax
Copy link

We have written the needed d
Issue Type: Bug

The debugger does not start and immediately stops after 1 second of launching. The debug icons are visible for that brief time (like pause, step over, step into, etc). It does not work with and without a launch.json file. I use the default python debugger configuration ("python current file (workspace)").
This issue appeared today and was not present last week.

VS Code version: Code 1.64.0 (5554b12, 2022-02-03T04:22:20.678Z)
OS version: Windows_NT x64 10.0.18363
Restricted Mode: No

System Info
Item Value
CPUs Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz (8 x 1800)
GPU Status 2d_canvas: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 7.85GB (1.51GB free)
Process Argv
Screen Reader no
VM 0%
Extensions (18)
Extension Author (truncated) Version
python-preview don 0.0.4
xml Dot 2.5.1
gitlens eam 11.7.0
gc-excelviewer Gra 4.0.50
favorites kdc 2.4.5
vsc-python-indent Kev 1.14.2
git-graph mhu 1.30.0
python ms- 2022.0.1786462952
vscode-pylance ms- 2022.2.0
jupyter ms- 2022.1.1001775990
jupyter-keymap ms- 1.0.0
jupyter-renderers ms- 1.0.6
vscode-python-typehint njq 1.4.1
vscode-yaml red 1.4.0
vscode-qt-for-python sea 1.1.7
python tht 0.2.3
vscode-counter uct 3.0.3
vscode-todo-highlight way 1.0.5

(1 theme extensions excluded)

ata into your clipboard because it was too large to send. Please paste.
@DrFlamingoo
Copy link

DrFlamingoo commented Feb 7, 2022

I am running into the same problem, updated VS Code this morning.

VS Code version: Code 1.64.0
OS version: Windows_NT x64 10.0.19044

@DrFlamingoo
Copy link

Downgrade to Version 1.63.2 did not help.

@weinand
Copy link
Contributor

weinand commented Feb 7, 2022

May be your program is short running and actually finishes fast?
Do you see the same behavior if you set a breakpoint on a line of your program and then start debugging?

@weinand weinand added the info-needed Issue requires more information from poster label Feb 7, 2022
@DrFlamingoo
Copy link

DrFlamingoo commented Feb 7, 2022

Yes, I have set multiple breakpoints.
Usually, the debugger opens up a new terminal, changes into the (conda) environment, and executes the program, with all the logging data visible in the terminal. This is not happening at all.

If I "run" the python file instead, all of the above is happening.

@Engensmax
Copy link
Author

Yes, breakpoints have no effect on the behaviour.

@weinand
Copy link
Contributor

weinand commented Feb 7, 2022

/extPython

@weinand weinand removed their assignment Feb 7, 2022
@weinand weinand removed the info-needed Issue requires more information from poster label Feb 7, 2022
@DrFlamingoo
Copy link

Thanks :)

@Engensmax
Copy link
Author

Solved by installing previous version of the python extension.
Also discussed here:
microsoft/vscode-python#18453

@github-actions github-actions bot locked and limited conversation to collaborators Mar 24, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*caused-by-extension Issue identified to be caused by an extension
Projects
None yet
Development

No branches or pull requests

4 participants
@weinand @DrFlamingoo @Engensmax and others