microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
163.57k stars 29.01k forks source link

Javascript Debugger keeps crashing #186643

Closed sunildisc closed 1 year ago

sunildisc commented 1 year ago

Type: Bug

When I put a break point in my code and run it, the debugger breaks to the breakpoint and then local variables spins for sometime before crashing.

VS Code version: Code 1.79.2 (Universal) (695af097c7bd098fbf017ce3ac85e09bbc5dda06, 2023-06-14T08:58:52.392Z) OS version: Darwin arm64 21.4.0 Modes:

System Info |Item|Value| |---|---| |CPUs|Apple M1 Pro (10 x 24)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled| |Load (avg)|20, 34, 24| |Memory (System)|32.00GB (8.24GB free)| |Process Argv|--crash-reporter-id a129987e-836b-4a5f-a390-f1fa01e18476| |Screen Reader|no| |VM|0%|
Extensions (45) Extension|Author (truncated)|Version ---|---|--- Bookmarks|ale|13.3.1 project-manager|ale|12.7.0 All-Autocomplete|Ati|0.0.26 reindent|cii|1.0.0 format-json|Cle|1.0.3 codestream|Cod|14.23.0 gitignore|cod|0.9.0 macros|ctf|0.1.2 gitlens|eam|14.0.1 code-runner|for|0.12.0 vscode-pull-request-github|Git|0.66.2 todo-tree|Gru|0.0.226 vscode-settings-cycler|hoo|1.0.1 output-colorizer|IBM|0.1.2 easy-snippet|inu|0.6.3 customize-ui|ioc|0.1.65 monkey-patch|ioc|0.1.23 vscode-essentials|jab|1.6.0 search-editor-apply-changes|jak|0.1.1 hungry-delete|jas|1.7.0 vscode-text-pastry|jkj|1.3.1 vscode-peacock|joh|4.2.2 chat|kar|0.35.0 vscode-format-context-menu|lac|1.0.4 vsls-whiteboard|los|0.0.12 metago|met|4.3.3 MetaJump|met|1.4.4 MetaWord|met|1.3.2 git-graph|mhu|1.30.0 vscode-checkpoints|mic|1.3.3 dotenv|mik|1.0.1 vsliveshare|ms-|1.0.5873 gremlins|nho|0.26.0 indent-rainbow|ode|8.3.1 fix-json|oli|0.1.2 polacode|pnp|0.3.4 vscode-multiclip|sle|0.1.5 rewrap|stk|1.16.3 code-spell-checker|str|2.20.5 control-snippets|svi|1.9.1 pdf|tom|1.2.2 intellicode-api-usage-examples|Vis|0.2.7 vscodeintellicode|Vis|1.2.30 gistfs|vsl|0.4.1 local-history|xyz|1.8.1
A/B Experiments ``` vsliv368:30146709 vsreu685:30147344 python383:30185418 vspor879:30202332 vspor708:30202333 vspor363:30204092 vslsvsres303:30308271 vserr242:30382549 pythontb:30283811 vsjup518:30340749 pythonptprofiler:30281270 vsdfh931cf:30280410 vshan820:30294714 vstes263:30335439 vscod805cf:30301675 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 vsaa593cf:30376535 pythonvs932:30410667 py29gd2263:30776702 vsclangdc:30486549 c4g48928:30535728 dsvsc012cf:30540253 pynewext54:30695312 azure-dev_surveyone:30548225 vscccc:30610679 2e4cg342:30602488 pyind779:30671433 89544117:30613380 pythonsymbol12:30671437 2i9eh265:30646982 showlangstatbar:30737416 vsctsb:30748421 pythonms35:30701012 03d35959:30757346 pythonfmttext:30731395 pythoncmvfstrcf:30756944 fixshowwlkth:30771522 showindicator:30766890 pythongtdpath:30769146 i26e3531:30769768 e440d664:30776459 pythonidxptcf:30772540 pythondjangots:30772535 pythonnocebcf:30776496 ```
sunildisc commented 1 year ago

There was an issue in my code, which was causing a crash. The debugger wasn't helping reporting that there was an unhandled exception.

connor4312 commented 1 year ago

/gifPlease

vscodenpa commented 1 year ago

Thanks for reporting this issue! Unfortunately, it's hard for us to understand what issue you're seeing. Please help us out by providing a screen recording showing exactly what isn't working as expected. While we can work with most standard formats, .gif files are preferred as they are displayed inline on GitHub. You may find https://gifcap.dev helpful as a browser-based gif recording tool.

If the issue depends on keyboard input, you can help us by enabling screencast mode for the recording (Developer: Toggle Screencast Mode in the command palette). Lastly, please attach this file via the GitHub web interface as emailed responses will strip files out from the issue.

Happy coding!

vscodenpa commented 1 year ago

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!