<div dir="ltr"><div>On the subject line, the ToT lldb  (see code around CommandObjectThread.cpp:1230) sets the breakpoint on the first exact matching line of 'line-number' or the closest line number > 'line-number' i.e. the best match.<br></div><div><br></div><div> And along with that, starting from the above exact/best matching line number index in the line table, the breakpoints are also being set on every other line number available in the line table in the current function scope. This latter part, I believe, is incorrect.</div><div><br></div><div>What, I think, should happen is we just set only one breakpoint on the first exact/best match for the given 'line-number' and another on the return address from the current frame. And this leaves us with one special case where the machine code for one single source line is scattered across (aka scheduled across) and I do not know what is the expected behaviour in this case.</div><div><br></div><div>If I my above understanding is correct and after discussing here on how to handle the scattered code scenario, I will submit a patch.</div><div><br></div><div>Regards,</div><div>Venkata Ramanaiah<br></div></div>