Hi Martin, 2014-02-14 1:14 GMT+08:00 Martin Frb <[email protected]>:
> With -O2 and above the debugger does not always work. > > In case of such optimization the debug info compiled into the exe by fpc > is not always accurate. > > It is not just blue dots, inspecting variables may show random data, .... > > Debugging with O2 and up, if you must, requires to only look at the > disassembler and register window. registers can only be trusted in the ttop > stackframe. selecting any other may not show correct info. > I never use optimization option other than O1, I think O1 is the default. As Sven suggested, I tried turning off optimization, and back on, still at O1 level.
_______________________________________________ fpc-pascal maillist - [email protected] http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
