Forum > Debugger

F8 step-over sometimes goes into assembly code

(1/5) > >>

ad1mt:
F8 step-over sometimes goes into assembly code.
I'm puzzled about this... can anyone explain why this sometimes happens.
Thanks.

Martin_fr:
There is a lot of info missing...

Lazarus version? (2.x / 3.0 / 3.99)
Fpc version?
OS?
32/64Bit?  (All the same for OS, Lazarus, and project? or cross compile?)
Debugger Backend (FpDebug, Gdb, Llld+FpDebug)
Did you compile With optimization OFF or Level-1?

If not FPDebug, and if 32 bit: Stabs or Dwarf?

Any indication on where the show assembler code is, in relation to the code that you were stepping?
E.g. What does the "Callstack" window show? Is your code in the list (Where)?

Does the asm window show any names in-between/ above the asm statements (anywhere but NOT in the comments)?

ad1mt:
I hoped this might be an easy question to answer, but I can see its not. It does not bother me enough to spend time investigating/reporting.

Martin_fr:
Well, it's a bug. And one that I am not aware off.
So in order to fix it (or even just guess what it may be), I need some starting point.

Edson:
I have the same problem in Windows 10. It happens in some cases, like when I do F8 in an instruction that have a string comparison.

I work at level 1 for optimization and Dwarf with sets.

Navigation

[0] Message Index

[#] Next page

Go to full version