[Lazarus] Watch List shows absolute rubbish
lazarus at mfriebe.de
Fri Oct 14 19:45:56 CEST 2016
On 14/10/2016 17:02, Graeme Geldenhuys via Lazarus wrote:
> On 2016-10-14 16:48, Graeme Geldenhuys via Lazarus wrote:
>> How the hell is one supposed to do debugging like this??
> I guess the answer is to simply use MSEide to debug LCL applications
> (and all other applications too). Attached is a screenshot of the same
> watch list and also in the first iteration of the for loop. NOTE that
> MSEide does just fine displaying the _real_ values in the Watch List window.
> MSEide was running under the exact same environment as what my Lazarus
> IDE did. Using the same FPC compiler and GDB debugger.
And the same compiler settings?
Both on -O1 ? (or whatever level)
Such incorrect results are sometimes caused by -O1, while -O- will be fine.
More information about the Lazarus