vadimcn / codelldb

A native debugger extension for VSCode based on LLDB
https://marketplace.visualstudio.com/items?itemName=vadimcn.vscode-lldb
MIT License
2.42k stars 237 forks source link

Using Continue/Step loses focus on thread #1023

Open BloodStainedCrow opened 8 months ago

BloodStainedCrow commented 8 months ago

OS: Windows 10 VSCode version: v1.82.3 CodeLLDB version: v1.10.0 Compiler: rustc Debuggee: Windows executable via "platform select remote-windows"

When I am debugging and stopped on a breakpoint, after focusing the thread and looking at variables whenever I press F11 (or similar) to step to the next line/instruction I lose focus from the thread I was debugging, therefore no longer showing me the variables until I click on the thread I was already on.

As you can imagine this makes the step functions virtually useless.

I have already found a similar problem on the discussions page here. But since it was unanswered for more than half a year I assumed it was not some setting but instead a bug in the extension.

Instead of always focusing thread 1 for me the debugger loses focus completely, allowing me to not even debug single-threaded programs...