[Lldb-commits] [lldb] Fix lldb-dap non-leaf frame source resolution issue (PR #165944)
Ebuka Ezike via lldb-commits
lldb-commits at lists.llvm.org
Wed Nov 5 06:07:57 PST 2025
da-viper wrote:
Thanks.
You could use the below as a test case. This will allow the PC line entry to be different from the frame line entry.
```cpp
// filename test.cpp
bool foo();
void bar() {
int val = 32; // breakpoint here
}
int main(int argc, char const *argv[]) {
auto val = foo();
return 0;
}
bool foo() {
bar();
#line 0 "test.cpp"
return true;
}
```
<img width="423" height="221" alt="Screenshot 2025-11-05 at 14 06 06" src="https://github.com/user-attachments/assets/45073883-67c9-490e-9034-87cd0f44e848" />
https://github.com/llvm/llvm-project/pull/165944
More information about the lldb-commits
mailing list