ActionScript Profiler

Compatible with  IntelliJ IDEA
27 418
The plugin allows you to profile your Flash and Flex applications.
CPU profiling: self and cumulative execution time, caller and callee hierarchy, sorting, navigation to source code and scope filtering.
Memory profiling
Please find more details on plugin wiki page.

Download plugin

Recent change notes

IntelliJ IDEA 13 compatibility
Nice Profiler, but i have some question. Can u please also calculate current items count, not only maximum? Or just share source i'll do it. 10x, Vitaliy Levitskiy
Incompatible with 123.23. I keep getting this error when starting it. Reverting to the stable build of IDEA fixed the issue. Error during dispatching of java.awt.event.InvocationEvent[INVOCATION_DEFAULT,runnable=javax.swing.Timer$DoPostEvent@135c70e,notifier=null,catchExceptions=false,when=1354029885264] on com/intellij/icons/AllIcons$Compiler java.lang.NoClassDefFoundError: com/intellij/icons/AllIcons$Compiler at com.jetbrains.actionscript.profiler.ui.LiveObjectsView$6.customizeCellRenderer( at com.jetbrains.actionscript.profiler.render.AbstractInfoCellRenderer.customizeCellRenderer( at com.intellij.ui.ColoredTreeCellRenderer.getTreeCellRendererComponent( at com.intellij.ui.treeStructure.treetable.TreeTableTree$1.getTreeCellRendererComponent( at javax.swing.plaf.basic.BasicTreeUI$NodeDimensionsHandler.getNodeDimensions( at javax.swing.tree.AbstractLayoutCache.getNodeDimensions( at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.updatePreferredSize( at javax.swing.tree.VariableHeightLayoutCache.rebuild( at javax.swing.tree.VariableHeightLayoutCache.treeStructureChanged( at javax.swing.plaf.basic.BasicTreeUI$Handler.treeStructureChanged( at javax.swing.tree.DefaultTreeModel.fireTreeStructureChanged( at javax.swing.tree.DefaultTreeModel.reload( at javax.swing.tree.DefaultTreeModel.reload( at com.jetbrains.actionscript.profiler.base.BaseSortableTreeTable.reload( at com.jetbrains.actionscript.profiler.ui.LiveObjectsView$1.actionPerformed( at javax.swing.Timer.fireActionPerformed( at javax.swing.Timer$ at java.awt.event.InvocationEvent.dispatch( at java.awt.EventQueue.dispatchEventImpl( at java.awt.EventQueue.access$200( at java.awt.EventQueue$ at java.awt.EventQueue$ at Method) at$1.doIntersectionPrivilege( at java.awt.EventQueue.dispatchEvent( at com.intellij.ide.IdeEventQueue.d( at com.intellij.ide.IdeEventQueue._dispatchEvent( at com.intellij.ide.IdeEventQueue.dispatchEvent( at java.awt.EventDispatchThread.pumpOneEventForFilters( at java.awt.EventDispatchThread.pumpEventsForFilter( at java.awt.EventDispatchThread.pumpEventsForHierarchy( at java.awt.EventDispatchThread.pumpEvents( at java.awt.EventDispatchThread.pumpEvents( at
incompatible with IDEA 11.1.4, need update
Hi, profiler is launched through time …. it works, then the message “Waiting for profiling agent to connect ….” In what could be the reason? I use FlashPlayer Debugger 11.4…. Thanks!
To answer to my own issue :
I had to copy the mm.cfg in my c:user directory as my personal folder is overridden in my dev environment

AND use IE instead of chrome

Now I love it!
@All Please report problems right in the bug tracker: (you can login via OpenID). This would be much better way to sort and track bug reports, and you will receive notifications on the fixes.
Hi and thx for this wonderfull work
I have the "waiting for profiling agent to connect" message ; did I miss something?

My plateform is

OS: Windows 7
Flex: 3.5
Flash Player: 11.1
Intellij: 10.5.2
Java : 6
I get the following error when I try to load to profile my app.
OS: Mac OS X 10.7
Flex: 4.5
Flash Player: 10.2
Intellij: 11

ReferenceError: Error #1056: Cannot create property allowCodeImport on flash.system.LoaderContext.
at mx.core::CrossDomainRSLItem/completeCdRslLoad()[E:\\dev\\4.5.1\\frameworks\\projects\\framework\\src\\mx\\core\\]
at mx.core::CrossDomainRSLItem/itemCompleteHandler()[E:\\dev\\4.5.1\\frameworks\\projects\\framework\\src\\mx\\core\\]
I'm getting IOProblem: Address already in use: JSV_Bind when I try to run it using IDEA 10.5.2, FP 10.3, Flex 4.1
On some systems (especially corporate), the home folder is mapped to a network share, and not c:/documents and settings/SomeUser. If so, the mm.cfg file is placed in the wrong directory by the plugin.

The plugin should use %homedrive% and %homepath% to locate the proper home directory, and not make assumptions on c:/documents and settings
A bit of notes on the main views would be nice. But it works. To install just drop it into the intellij install plugins directory. Look for a 'profile' button to appear just next to the run and debug buttons.

Using it with Air 2.6 runtime
How do I install this plugin? It doesn't seem to appear in the Plugin Manager within Intellij
Getting the same error as \"Anonymous\" when starting the application (Flex 3.5) using the following line in mm.cfg:

ReferenceError: Error #1065: Variable ContextMenuClipboardItems is not defined.
at flash.ui::ContextMenu/initLinkAndClipboardProperties()
at flash.ui::ContextMenu()
at mx.core::Application/initContextMenu()[C:\\autobuild\\3.5.0\\frameworks\\projects\\framework\\src\\mx\\core\\]
at mx.core::Application/initialize()[C:\\autobuild\\3.5.0\\frameworks\\projects\\framework\\src\\mx\\core\\]
at application/initialize()[U:\\sources\\visu\\photon\\com.systar.photon.application-host\\src\\main\\flex\\application.mxml:0]
at mx.managers::SystemManager/[C:\\autobuild\\3.5.0\\frameworks\\projects\\framework\\src\\mx\\managers\\]
at mx.managers::SystemManager/initializeTopLevelWindow()[C:\\autobuild\\3.5.0\\frameworks\\projects\\framework\\src\\mx\\managers\\]
at mx.managers::SystemManager/[C:\\autobuild\\3.5.0\\frameworks\\projects\\framework\\src\\mx\\managers\\]
at mx.managers::SystemManager/docFrameListener()[C:\\autobuild\\3.5.0\\frameworks\\projects\\framework\\src\\mx\\managers\\]
Can this be used with flex 4 and flash player 10?
is that true ?
You can not use this profiler for flex 3.5 project which require player 10 ?

Last time I report, I can not use it for my 3.5 sdk project, then I thought it maybe because the project require player 10.

today, I update intellij from 10.0.2 to 10.0.3, and I can use it for my project now.

Btw found another open source profiler project

it would be really good can intergrate with this one?
Please  sign in  to leave a comment.