Flash builder 4 作為一個IDE,不可不提及Debugger。
要知道一個良好的debugger可以大大加快開發過程, 令開發始更了解 程序本身在幹甚麼。
特別是flex作為前台的建構元件加上他的event-driven機制,大部份功能都是透過event來處理用戶互動(user interaction)。
[簡單來說就像firebug與html/css/js開發的關係,沒firebug會很難過….]
Flash builder的debugger與eclipse的debugger大同小異(借用嘛…)
下面的文章(英文)詳細介紹及指導了debugger的功能:
http://www.adobe.com/devnet/flex/articles/flashbuilder4_debugging_part1.html
http://www.adobe.com/devnet/flex/articles/flashbuilder4_debugging_part2.html
http://www.adobe.com/devnet/flex/articles/flashbuilder4_debugging_part3.html
主要功能:
– Breakpoint (Step in / over /out)
– Conditional Breakpoint
– Watchpoint
– Variable list
– Watch Variable
– Remote debug