-
Notifications
You must be signed in to change notification settings - Fork 38.4k
Description
Does this issue occur when all extensions are disabled?: Yes/No
- VS Code Version: 1.58.0
From #5830 it seems that the sort order of the threads in the call stack view are determined by the debug adapter. However, if there is a new thread that is added, it is simply added to the end of the list of threads, no matter where it was put in the results list.
Example:
New thread added, 3rd in the list:
2021-07-13T11:31:44-04:00 debug layer=dap [-> to client]{
"seq":0,
"type":"response",
"request_seq":25,
"success":true,
"command":"threads",
"body":{
"threads":[
{"id":1,"name":"* [Go 1] main.deadlock (Thread 28692229)"},
{"id":17,"name":"[Go 17] runtime.gopark"},
{"id":18,"name":"[Go 18] main.deadlock.func1"},
{"id":2,"name":"[Go 2] runtime.gopark"},
{"id":3,"name":"[Go 3] runtime.gopark"},
{"id":4,"name":"[Go 4] runtime.gopark"}
]
}}

