How to suppress only [SWF] traces when debugging Flash applications

北慕城南 提交于 2019-11-29 06:36:45

I suggest you use De MonsterDebugger an open source debugger for Adobe Flash, Flex and AIR.

It is perfect for what you are looking for, you can filter outputs, color code etc... Give it a go!

I don't think there is going to be a way to do this. From what I know, your options are:

  1. Remove the traces from actionscript manually
  2. set "Omit Traces" in the publish settings
  3. Test in Firefox and use Flash Tracer. Flash Tracer has a built in filtering options that you might be able to use to better focus on the relevant traces.

Not sure what OS you are on, but for Windows I view the Flash log with TailXP and it let's me filter out lines based on a string match.

I've been pretty happy with both deMonster's debugger, albeit it's a bit hefty to set up. A little lighter is the XRay admin tool, (http://osflash.org/xray), which still requires some setup. (including classes, special trace statements, etc.)

To be honest, what I usually use is the flash Debug player and Vizzy, which allows you to apply a live filter to the debug messages. Although it doesn't allow you exclude words, prepending a word to your traces could make everything that you don't explicitly trace disappear. For instance, you could filter by [custom], then just find and replace "trace(" with "trace('[custom]',".

Hope that helps, or inspires you.

When Using the Flash Develop plugin called FDtrace, I don't see these.

Ran into the same annoying issue and added a feature request on adobe bug base; please vote for it: https://bugbase.adobe.com/index.cfm?event=bug&id=3761359

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!