vadimcn / codelldb

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

breakpoints within scoped threads are moved #924

Closed 0xDEADFED5 closed 1 year ago

0xDEADFED5 commented 1 year ago

OS: Windows 11, latest VSCode version: 1.77.3 CodeLLDB version: 1.9.1 Compiler: rustc 1.69.0 Debuggee: stable-x86_64-pc-windows-msvc

I set breakpoint on code inside function that is called by a scoped thread. at runtime that breakpoint is removed, and instead the start of the very first function called by the scoped thread is where the breakpoint is triggered.

is this a fundamental limitation of lldb? any suggestions?

vadimcn commented 1 year ago

Either the compiler or lldb. Try MS debugger. If it has the same behavior, it's probably the former.