2006 FlashFoward 에서 finalist 에 오른 플래시 실시간 디버깅 툴이다.
플래시의 가장 큰 단점중에 하나가 기타 프로그램언어에 비해 디버깅 기능이 빈약하다는 것이다.
물론 플래시내에서 디버깅 기능을 지원하지만 직관적이지 못한 구조로 대부분 오류코드를 직접 작성해 trace 로 찍어보는 방법이 가장 빠를것이다.
기존에 써오던 Alcon 이라는 디버깅 툴보다도 훨씬 강력한 기능을 가지고 있는 것 같다.
이 툴은 틀별한 과정없이 컴포넌트를 설치하고 타임라인 상에 드래그하여 export 하면 Interface window 를 통해 모든 오브젝트를 runtime 으로 확인하고 수정해볼 수도 있다.
이런 디버깅 툴이 가장 필요할때는 아마 웹상에 올려져있는 플래시 파일을 디버깅할때 일것이다.
이런툴을 사용하지 않고 원하는 데이타가 제대로 들어오는지, 웹상에 올려져 있는 플래시 파일을 디버깅 하려면 자바스크립트로 alert 창을 띄우는 방법밖에 없을것이다.
특히 필터효과 같은 경우 사용자들이 원하는 효과를 얻으려면 많은 테스트를 해보고 그 값 적용하는데 이 툴에서는 필터효과를 실시간으로 적용할수 있고 그 코드값을 복사해서 그대로 사용할수도 있다.
-Features
View physical parent/child relationships of all your objects/movieclips in the treeview
View all properties/methods associated with an object/movieclip
Drill down through any objects/movieclips/arrays in the Datagrid
Execute actionscript at runtime. Call any of your methods from the interface at runtime!
Control at runtime:
-
MovieClips – Edit all properties, including: Rotate, scale, move, opacity, properties, play, gotoAndPlay/Stop/labelName
-
TextFields – same as movieclips, as well as edit text,
HTML text
-
Buttons – same as movieclips
-
video objects (NetStream) – play, pause, stop, view properties in realtime as video plays
-
Sound objects – play, stop, set loops, view ID3 information, all sound properties.
Use the _global.tt() to send any object/property to the output panel. Xray.trace() will recurse any object/array and display in the output panel a tabbed relational view of the object/array.
Use the search tool to search the output returned.
History info – use property settings saved in the history in your FLA or to reset your application to a specific state
Filters Panel – use Flash8 filters at run time and copy/paste the code for use in your FLA
관련사이트
http://osflash.org/xray
Alcon is a lightweight external output console for Flash ActionScript that allows developers to view debugging information without relying on the Flash IDE. SWF files can be debugged and monitored no matter if they are in the web browser, Flash Player or a standalone executable. While that Alcon tries to keep inclusion into projects as simple as possible. In fact all that needs to be done is importing the Debug class into a project and you are ready to send debug information to the console with a simple Debug.trace() command.
Included into a project Alcon keeps a small footprint and takes less than a Kilobyte of filesize while still offering some other helpful features.
Please note: Alcon is now hosted at the Flash Game Programming Wiki (fgpwiki.corewatch.net/wiki/alcon)! New versions are downloadable from there
다운로드하기
정말 이전부터 꼭 필요했던 건데…특히 다른 곳과 함께 작업할 시에 강력한 힘을 발휘할듯..
간단한 디버거를 만들어 쓰긴했지만 원하는 log level 수준까지 걸러서 다른 색으로 가독성 높게 표현해준다..
이젠 웹브라우저에서도 디버깅이 가능할듯 싶다…

Recent Comments