[Lazarus] lazarus debug with gdb [Re: [fpc-devel] bounty: FPC based debugger]

Graeme Geldenhuys graemeg.lists at gmail.com
Thu Sep 15 12:00:35 CEST 2011


On 15/09/2011 11:50, Martin wrote:
> 
> By now, you should know the can-do and con-not-do, and you should be 
> able to use accordingly. (e.g. watch the entire string, instead of an 
> index / or add  1 to the index yourself)

At the time I reported the inconsistency problem, I used Lazarus IDE for
debugging. Tooltip debugging, watches etc. It displayed the wrong
character. So from a developers point of view, they believe what the IDE
shows them as correct and true. This was not the case (back then).

I believe Lazarus IDE has been improved to "interpret" what the
developer meant, and based on the string type, convince GDB to return
the correct data via some work-arounds. But from a "normal FPC
developers" point of view - they want to use Pascal syntax in a watch
window, and expect correct results. At the time, this was not the case.


Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/





More information about the Lazarus mailing list