[Lazarus] What lines of a project run

Martin Frb lazarus at mfriebe.de
Mon Aug 10 19:22:22 CEST 2015


On 10/08/2015 15:34, Aradeonas wrote:
> Is there any way to find out what lines of a project run in all units 
> like a log?
> For example :
>
>     unit1 line 345
>     unit1 line 346
>     unit1 line 347
>

As in code coverage?

The best I can think of is valgrind (linux only), with kcachegrind.
It doesn't give you a log, but you can view all code, and it tells you 
which lines were run, which function was called from which others, ...

The cost is, that your app will run much,much slower during the test.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20150810/084e8d02/attachment-0003.html>


More information about the Lazarus mailing list