On 15/09/2011 11:00, Graeme Geldenhuys wrote:
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.
Unfortunately not...

The problem is to distinguish between string and pchar. As pchar must not be "fixed"



--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to