-
Notifications
You must be signed in to change notification settings - Fork 30.4k
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
Multi threaded apps are now seeing a Stacktrace for each thread when stopping occurs #68648
Comments
(Experimental duplicate detection) |
Expected to stop at bp and only receive a stacktrace for the stopping thread. Actually getting a stack trace for all threads. |
Customer's scenario has 250 threads and has seen a spike in time it takes when debugging hits a breakpoint. |
@vscodebot that is not the same issue. Thanks |
@pieandcakes thanks for reporting this issue. However please note that I am pretty clueless when it comes to c++, so the following step "Compile app" is giving me issues. Can you please give me nice steps so I can follow them step by step and get into this situation. Please note that I am on the mac. Also can you reproduce with latest vscode insiders since I could not reproduce this issue if I emulated it using node debugging?
|
Thanks to @joaomoreno and @weinand I could compile The issue here is that the Tree is calling getChildren on elements which are collapsed when refreshing the whole tree. Thus assigning this issue also to @joaomoreno @pieandcakes please confirm that the actual issue here is that the collapsed threads are sending a |
@isidorn That is correct. We are getting a |
@isidorn If you place the breakpoint here you'll notice that the call stack data source only gets asked to |
I was wrong. It is in the tree. I failed to press |
I confirm this is behaving better with the fix. |
Issue Type: Bug
Multithreaded app is now seeing a stacktrace request for each thread when a stopping event occurs, even when thread is not expanded in the callstack window. For a multithreaded app, this can be very expensive. This is a change in behavior from 1.30.2.
VS Code version: Code 1.31.0 (7c66f58, 2019-02-05T22:35:56.624Z)
OS version: Windows_NT x64 10.0.17763
System Info
checker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: enabled
surface_synchronization: enabled_on
video_decode: enabled
webgl: enabled
webgl2: enabled
Extensions (6)
The text was updated successfully, but these errors were encountered: