microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
162.57k stars 28.66k forks source link

Show breakpoint hit count #228605

Open fr43nk opened 5 days ago

fr43nk commented 5 days ago

While debugging it sometimes is helpfull to see how often a breakpoint is already hit in the current debug session. So it would be nice to have the hit count in the breakpoint view as a quickinfo.

Best regards, Frank

vogelsgesang commented 2 days ago

Note that, e.g., lldb would already have this hit-count available. However, there is currently no way to communicate the hit count from the debugger to VS Code via the debug adapter protocol, afaict.

Also see discussion in https://github.com/llvm/llvm-project/issues/104396