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 unit test in VS Code fail to attach randomly #125567

Closed
rebornix opened this issue Jun 4, 2021 · 3 comments
Closed

Debug unit test in VS Code fail to attach randomly #125567

rebornix opened this issue Jun 4, 2021 · 3 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug papercut 🩸 A particularly annoying issue impacting someone on the team testing Built-in testing support verified Verification succeeded
Milestone

Comments

@rebornix
Copy link
Member

rebornix commented Jun 4, 2021

Issue Type: Bug

4 out of 5 times debug unit test directly in VS Code fails to attach

vscode-debugadapter-14b70e1f.json.gz

VS Code version: Code - Insiders 1.57.0-insider (fe1eafc, 2021-06-04T12:21:40.077Z)
OS version: Windows_NT x64 10.0.19041

System Info
Item Value
CPUs Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz (8 x 3600)
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) 31.93GB (14.97GB free)
Process Argv --enable-proposed-api joyceerhl.vscode-pyolite --enable-proposed-api rebornix.better-jupyter-errors --enable-proposed-api donjayamanne.kusto --crash-reporter-id e73ca734-e67c-473d-8c47-80c5407fc859
Screen Reader no
VM 0%
@rebornix rebornix added bug Issue identified by VS Code Team member as probable bug papercut 🩸 A particularly annoying issue impacting someone on the team labels Jun 4, 2021
@rebornix
Copy link
Member Author

rebornix commented Jun 4, 2021

It works fine in the morning and then all of a sudden, it never attaches.

Log from window output

[2021-06-04 15:12:28.771] [renderer1] [error] custom request failed: Error: custom request failed

@connor4312
Copy link
Member

In the particular log you attached it looks like there were no tests to run; the runner didn't load any files outside of those included in unit.js. Maybe this is because the compilation was out of date, or the grep didn't find anything.

@connor4312
Copy link
Member

Fixed it so we wait for breakpoints to verify, not just the session. Still get renderer crashes, but this fixes the particular issue.

@connor4312 connor4312 added this to the June 2021 milestone Jun 7, 2021
@connor4312 connor4312 added the testing Built-in testing support label Jun 7, 2021
@lramos15 lramos15 added the verified Verification succeeded label Jun 30, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Jul 22, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug papercut 🩸 A particularly annoying issue impacting someone on the team testing Built-in testing support verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

3 participants