Apple Instruments meet Flash

Michael Forrest
Tue 01 Apr 2008




Apple Instruments comes bundled with Leopard. It's part of the whole developer toolkit that Apple give you for developing OS X Applications. All their tools are somewhat beautiful (the only real omission as far as I'm concerned is tabs in XCode).

I am doing some Flash work and realised there was a major memory leak and realised that I could use Instruments to track stuff in the Flash Player same as anywhere else.

All you need to do is Launch Executable->/Applications/Flash Player.app, and put the path to your swf in the arguments box in the Select Executable window.



You can monitor and record memory usage, file access, cpu use, beachball-time, and even get screen captures of user interface events on the chart. This is just excellent.

Make a comment