[fpc-pascal] Fingerprinting operation of a program
Tomas Hajny
XHajT03 at hajny.biz
Sat Feb 19 17:11:25 CET 2011
On Sat, February 19, 2011 15:18, Mark Morgan Lloyd wrote:
> Henry Vermaak wrote:
>> On 18 February 2011 18:19, Mark Morgan Lloyd
>> <markMLl.fpc-pascal at telemetry.co.uk> wrote:
>>> I need to trace through a program, running on two different systems
>>> which
>>> might or might not have the same OS, in order to find out where it's
>>> failing.
.
.
>> Valgrind is probably what you need. It doesn't work on windows, but
>> people use it with wine.
>
> Thanks Henry and Sven. I suspect that both FPP and Valgrind will end up
> being a substantial amount of work for a one-off problem... FPP in
> particular since it requires Lazarus to build but I'm trying to debug
> part of the Lazarus build process (bug 0018600).
>
> I'm about to start inserting debug messages. I might be some time.
One possible approximation may be to use the platform specific tools for
tracing use of the platform APIs (I believe it's strace under Linux?)
because it may provide some information even before adding the debug
messages.
Tomas
More information about the fpc-pascal
mailing list