vscode icon indicating copy to clipboard operation
vscode copied to clipboard

Clicking a stack frame with no source causes all other thread stacks to collapse

Open andrewcrawley opened this issue 10 years ago • 2 comments

  • VSCode Version: master (b2f6194)
  • OS Version: Ubuntu 14.04

Steps to Reproduce:

  1. Compile https://gist.github.com/edumunoz/6e2ca90d4b5d3dbfa5340576e79ac113 with g++ -g -std=c++11 -pthread hello.cpp -o hello
  2. Install the C++ debug adapter
  3. Set a breakpoint on line 7 (the body of the test function)
  4. When the breakpoint is hit, expand all the threads so you can see their stack frames
  5. Click a stack frame that doesn't have source (e.g. clone or create_thread)

At this point, all threads except the one with the frame that was clicked collapse. Clicking a stack frame that has symbols (e.g. main() or test()) doesn't cause any any other threads to collapse.

I would expect that the code view would change to the "Source ... is not available" view without collapsing any of my expanded threads.

@isidorn @weinand

andrewcrawley avatar Apr 26 '16 02:04 andrewcrawley

Verified that this worked as I'd expect in build 0.10.13-insider.

andrewcrawley avatar Apr 26 '16 03:04 andrewcrawley

@aeschli you are on a linux machine, and all this should work out of the box so giving to you to verify.

isidorn avatar Apr 29 '16 13:04 isidorn