Closed hriekehof closed 1 year ago
IMO, this should be a VSCode feature request. Although I don't think they'll implement this: in order to keep UI responsive, VSCode initially requests only the top 20 frames from debug adapters, loading the rest on-demand; so they simply don't have this information.
Depending on what you want to to do once you find the right stack frame, you might be able to do it by writing a script using LLDB API, that searches callstacks of all threads in the current process.
I have a bigger project which runs around 100 threads when started in the debugger. At the moment i can hit
Ctrl + F
in the Call Stack view and a small search window appears. This search only works on the text which is visible in the panel. To search everywhere i need to expand all threads to be able to search through all function calls in the stack frames.It would be great if i could do a textual search in all stack frames directly without expanding all threads. Maybe this is also a VS code feature request but it would help me alot.