2011-02-22 45 views
4

FlashBuilder的无证件mm.cfg文件有很多很酷的选项,如hereelsewhere所示。但是评论呢?FlashBuilder(又名Flex)mm.cfg文件的评论?

任何人都可以验证FlashBuilder的mm.cfg文件是否支持注释?

如果是这样的规则是什么?例如:

REM .bat style comment 
; .ini style comment 
# shell style comment 
/* C Style comment   */ 
// C++ style comment 
-- SQL style comment 
<!-- XML style comment  --> 

是否允许多行注释?必须注释分开吗?

+0

mm.cfg用于跟踪输出的文件。它只会在使用Flash调试器播放器执行应用程序时激活。 – Raju 2011-04-26 14:44:12

回答

3

“REM”似乎有望在mm.cfg中

“REM”行没有错误地忽略工作。与谷歌浏览器(13.0.782.220米视窗)和调试flash播放器(10,2,159,1安装)

TraceOutputBuffered=0 
ErrorReportingEnable = 0 
MaxWarnings=1000000 
TraceOutputFileEnable = 1 
rem PreloadSwf = D:\Dev\PBLabsProfiler\dist\Agent.swf 

'REM' 是测试一个单行注释。多行评论不允许。

请务必重新启动浏览器以使mm.cfg更改生效

+0

酷!你有没有尝试过任何其他的评论风格? – jwfearn 2011-09-07 18:19:30