[Lazarus] Does Lazarus have file name and line number macros for inserting into DebugLn/WriteLn statements?
vfclists at gmail.com
Fri Oct 7 15:16:33 CEST 2011
On 7 October 2011 13:16, Lukasz Sokol <el.es.cr at gmail.com> wrote:
> On 07/10/2011 11:10, Frank Church wrote:
> > On 6 October 2011 14:14, Howard Page-Clark <hdpc at talktalk.net
> > <mailto:hdpc at talktalk.net>> wrote:
> > There is already $ProcedureName() you can use in a code template (see
> > Tools->Code Templates).
> > I am using 0.9.30 and it is not on the menu. Do you have an example
> > of the syntax to be used in source code?
> On my Lazarus therre is Environment -> Code Templates, but yes there is no
> $ProcedureName() in the default Lazarus.dci
> as installed from the zipped installer) - d+[Ctrl+j] expands to
> debugln(['test ']);
I have tried Vincent's suggestion and it is working, I get
> > -- Frank Church
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Lazarus