Ok, looked at the log.
BTW: Do all the lines (except empty ones) in your procedure show the blue dots on the left?
-------------
I can see from a technical point what is happening. But it is either in fpc or GDB (or both), and I will have to see if I can get some infos from others. (hopefully someone will have an idea)
The IDE is sending the right command, but gdb comes to an unexpected result.
Technically/internally what happens is:
- the step (F8) you are trying to do includes a fpc_ansistr_copy "Copy(s,i,j)"
(But it does not have to be this, it can be others, as I have seen from another person with the same issue)
- gdb believes the step end inside the copy. so it stops in the fpc code.
So technically you stepped into this function. Since this function has no debug info (other than the name, but there is no file or line) it can not be shown.
The IDE seeks the caller. (Which is your procedure). But the RTL (and therefore fpc_ansistr_copy are optimized. This optimization changes how the stack is organized. And it hides the direct caller.
So only the 2nd caller can be found and is shown.
-----
I will see if I can find some more info.
I am afraid that is likely to take quite a while.