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

Unable to run debugging with integrated terminal and option Debug > Terminal: Clear Before Reusing #21063

Closed
daoducminh opened this issue Apr 15, 2023 · 4 comments
Assignees
Labels
area-debugging bug Issue identified by VS Code Team member as probable bug regression Bug didn't exist in a previous release

Comments

@daoducminh
Copy link

Type: Bug

  1. In launch.json, set console to integratedTerminal
  2. In settings.json, set debug.terminal.clearBeforeReusing to true
  3. Close any opened Python Debug Console.
  4. Create a simple python file for test
    print("Hello World")
  5. Start Debugging. Everything will work fine for now.
  6. Start Debugging again without closing current Python Debug Console. It will run for a short time, then alert Timed out waiting for launcher to connect. The Python Debug Console seems to clear both old output and current debug command.

If I either change console to internalConsole,externalTerminal or set debug.terminal.clearBeforeReusing to false, this bug will not happend.

Extension version: 2023.6.0
VS Code version: Code 1.77.3 (704ed70d4fd1c6bd6342c436f1ede30d1cff4710, 2023-04-12T09:16:52.732Z)
OS version: Linux x64 5.19.0-38-generic
Modes:
Sandboxed: No

System Info
Item Value
CPUs AMD Ryzen 7 5700U with Radeon Graphics (16 x 2070)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: disabled_software
video_encode: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
Load (avg) 1, 1, 1
Memory (System) 15.00GB (10.78GB free)
Process Argv --unity-launch --crash-reporter-id f80b5e1b-e165-46d8-bff0-8c2abee073d5
Screen Reader no
VM 0%
DESKTOP_SESSION ubuntu
XDG_CURRENT_DESKTOP Unity
XDG_SESSION_DESKTOP ubuntu
XDG_SESSION_TYPE x11
A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscorecescf:30445987
pythondataviewer:30285071
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593cf:30376535
pythonvs932:30410667
cppdebug:30492333
vsclangdc:30486549
c4g48928:30535728
dsvsc012:30540252
pynewext54:30695312
azure-dev_surveyone:30548225
vsccc:30610678
nodejswelcome1:30587005
3biah626:30602489
pyind779:30671433
f6dab269:30613381
pythonsymbol12:30671437
a9j8j154:30646983
vsccsb:30705552
defaultazurewalk:30687958
pythonms35:30701012
pythonclientmv:30713943

@github-actions github-actions bot added the triage-needed Needs assignment to the proper sub-team label Apr 15, 2023
@karrtikr karrtikr assigned paulacamargo25 and unassigned karrtikr Apr 17, 2023
@paulacamargo25
Copy link

Hi @daoducminh, can you send me the following information:

  • Python version (& distribution if applicable, e.g. Anaconda):
  • Type of virtual environment used (e.g. conda, venv, virtualenv, etc.):
  • Value of the python.languageServer setting:
  • Operating system:

Thanks

@github-actions github-actions bot added the info-needed Issue requires more information from poster label Apr 24, 2023
@daoducminh
Copy link
Author

Hi @paulacamargo25 , this is my system infomation:

  • Python 3.10.6 (default python and pip for Ubuntu 22.04)
  • Type of virtual environment: virtualenv
  • python.languageServer: default
  • OS: Ubuntu 22.04.1 LTS - 64bit

Hope this will help.

@github-actions github-actions bot removed the info-needed Issue requires more information from poster label Apr 25, 2023
@paulacamargo25 paulacamargo25 added bug Issue identified by VS Code Team member as probable bug regression Bug didn't exist in a previous release and removed triage-needed Needs assignment to the proper sub-team labels May 11, 2023
@paulacamargo25
Copy link

Hi @daoducminh this error should be fix in the new Python Debugger Extension, could you try to reproduce the error using it? If the error persist please create an issue on that extension repro.

@paulacamargo25 paulacamargo25 closed this as not planned Won't fix, can't repro, duplicate, stale Jan 22, 2024
@daoducminh
Copy link
Author

Hi @paulacamargo25 . I confirm that this issue has been fixed in current version (v2023.22.1). Thank you very much for your support.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-debugging bug Issue identified by VS Code Team member as probable bug regression Bug didn't exist in a previous release
Projects
None yet
Development

No branches or pull requests

3 participants