Please suppress duplicate threads requests #110927
Labels
bug
Issue identified by VS Code Team member as probable bug
debug
Debug viewlet, configurations, breakpoints, adapter issues
info-needed
Issue requires more information from poster
Threads requests can be expensive (e.g. microsoft/debug-adapter-protocol#159), so it would be great if the editor avoided sending duplicate ones when the program is stopped and the state is not changing. Please see issue golang/vscode-go#940 for details on when dups can occur. It would be great if requests issued on stopped events and not just on thread events were checked for duplication. Even if we avoid pulling duplicate information from the debug backend in the debug adapter, we would still need to send the duplicate responses back, which could be a performance hit. Getting to the root of the duplication on the editor end would be most efficient.
The text was updated successfully, but these errors were encountered: