[fpc-devel] __LINE__ and __FILE__ macros

Joerg Schuelke joerg.schuelke at gmx.de
Thu Apr 28 18:09:27 CEST 2011


Best regards to all developers,

is it somehow possible to access the line number and file information
during the compilation? This would be nice for debugging purposes.

I do not write about the compiled in debug information for gdb.

ASSERT can - i read it in the documentation - access this information.

Is it without to much work possible to make this information accessible
as macro?
Are there any plans to extend macro support (parameters?)?

Best regards again

	Jörg Schülke



More information about the fpc-devel mailing list