The problem I am facing is that on constantly hitting step over
command, without being in a loop, you can expect the program counter arrow (->
) to move to the bottom one (or more) lines at a time. I have a piece of software that makes lldb not work like that. So for those who are familiar with lldb behavior, which is I suppose, not that different from gdb, do you know why such a thing might happen?
It may seem not critical at first, but I find it confusing when debugging a piece of code that I am not familiar with and trying to study it from interactive debugger session.
On running source info
in lldb when being at position X1
and then X2
, I can see that the two lines have increasing consecutive non-overlapping ranges associated with them. But the thing is that X1
> X2
...