A collection of recommended developer tools for use with Parrot, and tips for using them.

Linux

Developer tools on Linux platforms.

Valgrind

To run the full test suite through Valgrind (old, needs checking):

  • %ENV{TEST_PROG} = 'perl vg_tester.pl'
  • err recreate this env var - someone seems to have removed it
  • create vg_tester.pl that runs parrot with valgrind (or $other_tool)
  • skip non-fatals like unit stack memory spotted by valgrind inside GC
  • improve tools/dev/parrot.supp (valgrind suppression file)
  • filter output and send it on to the test environment
  • but report invalid reads and writes as errors

Mac OS

See  http://developer.apple.com/technotes/tn2004/tn2124.html

Parrot

Scanning the currently exposed API

  • tools/dev/parrot_api.pl