microsoft / vscode-cpptools

Official repository for the Microsoft C/C++ extension for VS Code.
Other
5.45k stars 1.53k forks source link

feature request: parallel stack of C/C++ programs in Visual Studio Code #2598

Open WZRPW opened 5 years ago

WZRPW commented 5 years ago

Type: LanguageService

feature request: parallel stack of C/C++ programs in Visual Studio Code I have used the parallel stack tool in Visual Studio 2017. It is a cool tool and is very helpful in performance analysis. Hope that VSCode could have the same feature available for users.

Describe the bug

To Reproduce

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

Screenshots

Additional context

jeremyong commented 2 months ago

As additional context for people not familiar with this tool/widget, the parallel stack viewer is also very useful as a debugging aid. When a crash occurs on thread B due to a data race, use-after-free, or some other memory violation, it's very common that seeing what other threads are doing at the moment of the crash gives a clue as to what may have happened. The parallel stack viewer is a large resizable widget that gives a better display of all stacks on all live threads, which can dramatically reduce the time needed to diagnose a bug (compared to expanding the stacks of dozens or even hundreds of worker threads in a sidebar widget).