正常使用 flex profiler

使用profiler时一直报socket timeout

查了资料后,需要在mm.cfg中加一行 PreloadSwf=<work space>\.metadata\.plugins\com.adobe.flash.profiler/ProfilerAgent.swf?debug=true

mm.cfg的位置:flex help的《Configuring the debugger version of Flash Player》

之前测了很久都不通,主要跟我把系统环境变量里的homepath放到了e盘,以及flex builder默认的workspace也改动过多次,所以整个乱掉了。。。

其他比较容易解决的出错原因:flash player要用debug版本;要让profiler的连接通过防火墙;等等。