2011/10/6 Frank Church <vfclists at gmail.com>: > Does Lazarus have file name and line number macros for inserting into > DebugLn/WriteLn statements? No. But FPC has: http://www.freepascal.org/docs-html/prog/progsu38.html#x44-430001.1.38 Vincent