<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
This is a known issue under 64 bit Windows, when using the default
debugger of Lazarus (gdb based / GDBMI debugger).<br>
There have been sporadic reports that this may occur on other
platforms too...<br>
<br>
Anyway the symptoms of this issue are:<br>
- During debugging you press F8 (or otherwise trigger step-over)<br>
- The debugger will NOT step to the next line, but stop inside a
function that was called by the line you tried to step over.<br>
<br>
I myself have only reproduced this, in cases where the debugger
stepped into code that has debug info. So the source of the
stepped-into procedure is shown. If anyone has experienced stepping
into assembler I would like feedback on this.<br>
<br>
I have added some code, that may work around the issue. But that
needs testing.<br>
It is present in trunk (r60274) and fixes 2.0 branch (merge is
actually pending, but is planned to happen before release).<br>
<br>
Due to the lack of tests this feature is disabled by default.<br>
Go to Tools > Option > Debugger<br>
Find (in the property grid) "FixIncorrectStepOver" and enable it.<br>
<br>
If the IDE detects a step-in when expecting a step over, it will try
to solve the issue (perform a further step-over and then a step-out
/ a step out from the "begin" line of a procedure does not always
work).<br>
<br>
If you have cases where this does not work, could you please report
with:<br>
- a reproducible example (if you have)<br>
- always (even if you have an example): a logfile <br>
<a
href="http://wiki.lazarus.freepascal.org/GDB_Debugger_Tips#Log_info_for_debug_session"
class="bbc_link" target="_blank">http://wiki.lazarus.freepascal.org/GDB_Debugger_Tips#Log_info_for_debug_session</a><br>
<br>
<br>
See also <a class="moz-txt-link-freetext" href="http://forum.lazarus-ide.org/index.php?topic=44121">http://forum.lazarus-ide.org/index.php?topic=44121</a><br>
</body>
</html>