On 22 Jul 2008, at 11:13, Mattias Gaertner wrote:

The Lineinfo unit does not work currently under Mac OS X.

The lineinfo unit does work under Mac OS X (but only for stabs currently). Depending on the used system version, it may also only work if you start the program with the full path, because paramstr(0) is not guaranteed to contain the full path to the binary (as for why, see http://lists.apple.com/archives/darwin-kernel/2004/Jul/ msg00058.html ; and note that those arguments hold equally well for any *nix, so in general it's a bad idea to rely on paramstr(0) being a valid full path to some existing file).


Jonas
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to