<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/161329>161329</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[lldb-dap] wrong breakpoint verified status
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
nd-work
</td>
</tr>
</table>
<pre>
To reproduce, debug the following program with lldb-dap from Xcode 26.0.1 and one breakpoint:
```
#include <iostream>
int main() {
std::cout << "ok\n";
std::cout << "ok\n"; // break
std::cout << "ok\n";
}
```
Lldb dap first replies that the breakpoint is verified:
```
1759217371.887020111 <--
Content-Length: 294
{
"body": {
"breakpoints": [
{
"column": 13,
"id": 1,
"instructionReference": "0x100000CF8",
"line": 5,
"source": {
"name": "main.cpp",
"path": "/Users/dmitry.neverov/w/a/CLionProjects/playgroundCpp/main.cpp"
},
"verified": true
}
]
},
"command": "setBreakpoints",
"request_seq": 3,
"seq": 0,
"success": true,
"type": "response"
}
```
and then later sends an event where the breakpoint is not verified:
```
1759217371.916330099 <--
Content-Length: 177
{
"body": {
"breakpoint": {
"column": 13,
"id": 1,
"instructionReference": "0xFFFFFFFFFFFFFFFF",
"line": 5,
"verified": false
},
"reason": "changed"
},
"event": "breakpoint",
"seq": 0,
"type": "event"
}
```
The program successfully stops at the breakpoint, so the `verified` flag in the breakpoint is wrong.
[lldb_dap.log](https://github.com/user-attachments/files/22613097/lldb_dap.log)
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJyUVk2P4ygQ_TXkgmLhIo7jgw_pZH2aw2o1K-1thE3FZhuDB3Cy_e9X2PnqpLs1Y1lyRBWP4tV7EOG9ag1iSbIXku0XYgyddaWRy5N1r4vayrfyu6UOB2fl2CCBHZVYjy0NHdKD1dqelGnp4GzrRE9PKnRUa1kvpRjowdme_tNYiRTWCUtSKoyk1iCtHYrXwSoTCN8SNr1rdn7Z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