[fpc-devel] Re: Debugger for FPC

Graeme Geldenhuys graemeg.lists at gmail.com
Thu Mar 12 09:09:20 CET 2009


On Wed, Mar 11, 2009 at 6:11 PM, Martin Schreiber <fpmse at bluewin.ch> wrote:
> Delphi/Kylix probably can't map a variable to the address of another variable,
> because of that Delphi needs separate implementations of format functions
> with and without FormatSettings parameter.

To be honest that is not my concern... As a developer I simply use
ShortDateFormat and that's it.


> Use "DefaultFormatSettings.ShortDateFormat" to display the value in gdb.

But that's the whole point, you shouldn't need to. I don't use
"DefaultFormatSettings.ShortDateFormat" in my code, I simply use
"ShortDateFormat". Why must I learn one way for debugging and one for
actual coding! To 99.9% of developers the ShortDateFormat is simply a
string type variable and they want to debug that variable like all
other string type variables.

Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/



More information about the fpc-devel mailing list