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

Debug Console stucks entire VSCode when debug output is long #238441

Open
UIMicro opened this issue Jan 22, 2025 · 0 comments
Open

Debug Console stucks entire VSCode when debug output is long #238441

UIMicro opened this issue Jan 22, 2025 · 0 comments
Assignees

Comments

@UIMicro
Copy link

UIMicro commented Jan 22, 2025

Type: Performance Issue

Behaviour

The entire VSCode window stucked

Steps to reproduce:

  1. Use pygmtools to download PascalVOC with debugger enabled
    This issue originates from the "Debug Console" recording all python shell outputs. When I download the dataset, there are a huge amount of outputs like
    "100% [....................................................................] 1765686784 / 1765686784"
    and when it accumulates without manually clearing debug console, the entire vscode stucks.

Diagnostic data

launch.json configuration

{
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
        {
            "name": "AFAT",
            "type": "debugpy",
            "request": "attach",
            "connect": {
                "host": "localhost",
                "port": 5678
            },
            "pathMappings": [
                {
                    "localRoot": "${workspaceFolder}/ThinkMatch",
                    "remoteRoot": "/app"
                }
            ]
        },
    ]
}

Output for Python in the Output panel (ViewOutput, change the drop-down the upper-right of the Output panel to Python)

XXX

Output for Python Debugger in the Output panel (ViewOutput, change the drop-down the upper-right of the Output panel to Python Debugger)


 50% [.....................................                                     ] 4243456 / 8438488
 50% [.....................................                                     ] 4251648 / 8438488
 50% [.....................................                                     ] 4259840 / 8438488
 50% [.....................................                                     ] 4268032 / 8438488
 50% [.....................................                                     ] 4276224 / 8438488
 50% [.....................................                                     ] 4284416 / 8438488
 50% [.....................................                                     ] 4292608 / 8438488
 50% [.....................................                                     ] 4300800 / 8438488
 51% [.....................................                                     ] 4308992 / 8438488
 51% [.....................................                                     ] 4317184 / 8438488
 51% [.....................................                                     ] 4325376 / 8438488
 51% [......................................                                    ] 4333568 / 8438488
 51% [......................................                                    ] 4341760 / 8438488
 51% [......................................                                    ] 4349952 / 8438488
 51% [......................................                                    ] 4358144 / 8438488
 51% [......................................                                    ] 4366336 / 8438488
 51% [......................................                                    ] 4374528 / 8438488
 51% [......................................                                    ] 4382720 / 8438488
 52% [......................................                                    ] 4390912 / 8438488
 52% [......................................                                    ] 4399104 / 8438488
 52% [......................................                                    ] 4407296 / 8438488
 52% [......................................                                    ] 4415488 / 8438488
 52% [......................................                                    ] 4423680 / 8438488
 52% [......................................                                    ] 4431872 / 8438488
 52% [......................................                                    ] 4440064 / 8438488
 52% [.......................................                                   ] 4448256 / 8438488
 52% [.......................................                                   ] 4456448 / 8438488
 52% [.......................................                                   ] 4464640 / 8438488
 53% [.......................................                                   ] 4472832 / 8438488
 53% [.......................................                                   ] 4481024 / 8438488
 53% [.......................................                                   ] 4489216 / 8438488
 53% [.......................................                                   ] 4497408 / 8438488
 53% [.......................................                                   ] 4505600 / 8438488
 53% [.......................................                                   ] 4513792 / 8438488
 53% [.......................................                                   ] 4521984 / 8438488
 53% [.......................................                                   ] 4530176 / 8438488
 53% [.......................................                                   ] 4538368 / 8438488
 53% [.......................................                                   ] 4546560 / 8438488
 53% [.......................................                                   ] 4554752 / 8438488
 54% [........................................                                  ] 4562944 / 8438488
 54% [........................................                                  ] 4571136 / 8438488
 54% [........................................                                  ] 4579328 / 8438488
 54% [........................................                                  ] 4587520 / 8438488
 54% [........................................                                  ] 4595712 / 8438488
 54% [........................................                                  ] 4603904 / 8438488
 54% [........................................                                  ] 4612096 / 8438488
 54% [........................................                                  ] 4620288 / 8438488
 54% [........................................                                  ] 4628480 / 8438488
 54% [........................................                                  ] 4636672 / 8438488
 55% [........................................                                  ] 4644864 / 8438488
 55% [........................................                                  ] 4653056 / 8438488
 55% [........................................                                  ] 4661248 / 8438488
 55% [........................................                                  ] 4669440 / 8438488
 55% [.........................................                                 ] 4677632 / 8438488
 55% [.........................................                                 ] 4685824 / 8438488
 55% [.........................................                                 ] 4694016 / 8438488
 55% [.........................................                                 ] 4702208 / 8438488
 55% [.........................................                                 ] 4710400 / 8438488
 55% [.........................................                                 ] 4718592 / 8438488
 56% [.........................................                                 ] 4726784 / 8438488
 56% [.........................................                                 ] 4734976 / 8438488
 56% [.........................................                                 ] 4743168 / 8438488
 56% [.........................................                                 ] 4751360 / 8438488
 56% [.........................................                                 ] 4759552 / 8438488
 56% [.........................................                                 ] 4767744 / 8438488
 56% [.........................................                                 ] 4775936 / 8438488
 56% [.........................................                                 ] 4784128 / 8438488
 56% [..........................................                                ] 4792320 / 8438488
 56% [..........................................                                ] 4800512 / 8438488
 56% [..........................................                                ] 4808704 / 8438488
 57% [..........................................                                ] 4816896 / 8438488
 57% [..........................................                                ] 4825088 / 8438488
 57% [..........................................                                ] 4833280 / 8438488
 57% [..........................................                                ] 4841472 / 8438488
 57% [..........................................                                ] 4849664 / 8438488
 57% [..........................................                                ] 4857856 / 8438488
 57% [..........................................                                ] 4866048 / 8438488
 57% [..........................................                                ] 4874240 / 8438488
 57% [..........................................                                ] 4882432 / 8438488
 57% [..........................................                                ] 4890624 / 8438488
 58% [..........................................                                ] 4898816 / 8438488
 58% [...........................................                               ] 4907008 / 8438488
 58% [...........................................                               ] 4915200 / 8438488
 58% [...........................................                               ] 4923392 / 8438488
 58% [...........................................                               ] 4931584 / 8438488
 58% [...........................................                               ] 4939776 / 8438488
 58% [...........................................                               ] 4947968 / 8438488
 58% [...........................................                               ] 4956160 / 8438488
 58% [...........................................                               ] 4964352 / 8438488
 58% [...........................................                               ] 4972544 / 8438488
 59% [...........................................                               ] 4980736 / 8438488
 59% [...........................................                               ] 4988928 / 8438488
 59% [...........................................                               ] 4997120 / 8438488
 59% [...........................................                               ] 5005312 / 8438488
 59% [...........................................                               ] 5013504 / 8438488
 59% [............................................                              ] 5021696 / 8438488
 59% [............................................                              ] 5029888 / 8438488
 59% [............................................                              ] 5038080 / 8438488
 59% [............................................                              ] 5046272 / 8438488
 59% [............................................                              ] 5054464 / 8438488
 59% [............................................                              ] 5062656 / 8438488
 60% [............................................                              ] 5070848 / 8438488
 60% [............................................                              ] 5079040 / 8438488
 60% [............................................                              ] 5087232 / 8438488
 60% [............................................                              ] 5095424 / 8438488
 60% [............................................                              ] 5103616 / 8438488
 60% [............................................                              ] 5111808 / 8438488
 60% [............................................                              ] 5120000 / 8438488
 60% [............................................                              ] 5128192 / 8438488
 60% [.............................................                             ] 5136384 / 8438488
 60% [.............................................                             ] 5144576 / 8438488
 61% [.............................................                             ] 5152768 / 8438488
 61% [.............................................                             ] 5160960 / 8438488
 61% [.............................................                             ] 5169152 / 8438488
 61% [.............................................                             ] 5177344 / 8438488
 61% [.............................................                             ] 5185536 / 8438488
 61% [.............................................                             ] 5193728 / 8438488
 61% [.............................................                             ] 5201920 / 8438488
 61% [.............................................                             ] 5210112 / 8438488
 61% [.............................................                             ] 5218304 / 8438488
 61% [.............................................                             ] 5226496 / 8438488
 62% [.............................................                             ] 5234688 / 8438488
 62% [.............................................                             ] 5242880 / 8438488
 62% [..............................................                            ] 5251072 / 8438488
 62% [..............................................                            ] 5259264 / 8438488
 62% [..............................................                            ] 5267456 / 8438488
 62% [..............................................                            ] 5275648 / 8438488
 62% [..............................................                            ] 5283840 / 8438488
 62% [..............................................                            ] 5292032 / 8438488
 62% [..............................................                            ] 5300224 / 8438488
 62% [..............................................                            ] 5308416 / 8438488
 63% [..............................................                            ] 5316608 / 8438488
 63% [..............................................                            ] 5324800 / 8438488
 63% [..............................................                            ] 5332992 / 8438488
 63% [..............................................                            ] 5341184 / 8438488
 63% [..............................................                            ] 5349376 / 8438488
 63% [..............................................                            ] 5357568 / 8438488
 63% [...............................................                           ] 5365760 / 8438488
 63% [...............................................                           ] 5373952 / 8438488
 63% [...............................................                           ] 5382144 / 8438488
 63% [...............................................                           ] 5390336 / 8438488
 63% [...............................................                           ] 5398528 / 8438488
 64% [...............................................                           ] 5406720 / 8438488
 64% [...............................................                           ] 5414912 / 8438488
 64% [...............................................                           ] 5423104 / 8438488
 64% [...............................................                           ] 5431296 / 8438488
 64% [...............................................                           ] 5439488 / 8438488
 64% [...............................................                           ] 5447680 / 8438488
 64% [...............................................                           ] 5455872 / 8438488
 64% [...............................................                           ] 5464064 / 8438488
 64% [...............................................                           ] 5472256 / 8438488
 64% [................................................                          ] 5480448 / 8438488
 65% [................................................                          ] 5488640 / 8438488
 65% [................................................                          ] 5496832 / 8438488
 65% [................................................                          ] 5505024 / 8438488
 65% [................................................                          ] 5513216 / 8438488
 65% [................................................                          ] 5521408 / 8438488
 65% [................................................                          ] 5529600 / 8438488
 65% [................................................                          ] 5537792 / 8438488
 65% [................................................                          ] 5545984 / 8438488
 65% [................................................                          ] 5554176 / 8438488
 65% [................................................                          ] 5562368 / 8438488
 66% 

VS Code version: Code 1.96.4 (cd4ee3b, 2025-01-16T00:16:19.038Z)
OS version: Windows_NT x64 10.0.26100
Modes:
Remote OS version: Linux x64 5.15.0-127-generic
Remote OS version: Linux x64 4.15.0-213-generic

Extensions (23)
Extension Author (truncated) Version
vsc-material-theme Equ 34.7.9
vsc-material-theme-icons equ 3.8.12
jupyter-keymap ms- 1.1.2
remote-containers ms- 0.394.0
remote-ssh ms- 0.116.1
remote-ssh-edit ms- 0.87.0
remote-wsl ms- 0.88.5
remote-explorer ms- 0.4.3
vscode-serial-monitor ms- 0.13.1
excalidraw-editor pom 3.7.4
copilot Git 1.257.0
copilot-chat Git 0.23.2
vscode-docker ms- 1.29.4
vscode-language-pack-zh-hans MS- 1.96.2024121109
debugpy ms- 2024.14.0
python ms- 2024.22.2
vscode-pylance ms- 2024.12.1
jupyter ms- 2024.11.0
jupyter-keymap ms- 1.1.2
jupyter-renderers ms- 1.0.21
vscode-jupyter-cell-tags ms- 0.1.9
vscode-jupyter-slideshow ms- 0.1.6
makefile-tools ms- 0.11.13

(5 theme extensions excluded)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants