突然出現Debug調試死機問題折騰半天不管用
Flex調試工具的安裝
一、IE下flex調試的安裝
Flex builder 3.0中使用trace( )調試時(debug方式運行,也可直接按F11運行。如果不是debug方式運行,trace函數的內容是不會輸出的),彈出提示:
Installed Flash Player Is Not a Debugger
C:\Windows\System32\Macromed\Flash\Flash10a.ocx
Flex Builder cannot locate the required debugger version of Flash Player. You might need to install the debugger version of Flash Player 9 or reinstall Flex Builder.
Do you want to try to debug with the current version?
這是因為:flex builder 3 默認安裝的是flash player debugger 9.而最新的是 player 10 debugger版。如果安裝的是10a,也會偶爾提示這個錯誤。
下載http://download.macromedia.com/pub/flashplayer/updaters/10/flashplayer_10_ax_debug.exe
或者
www.adobe.com/support/flashplayer/downloads.html
尋找到相對應的Flex版本安裝后重啟Flex應用程序就可以了。
如果出現不能安裝的情況,可能是版本沖突,無法自動卸載已安裝的版本。
解決安裝 Adobe Flash Player ActiveX 控件失敗的方法(也可以試試只執行第3步卸載操作)
1、下載 Flash Player 卸載器,執行卸載操作
http://download.macromedia.com/pub/flashplayer/current/uninstall_flash_player.exe;
或者 執行
C:\WINDOWS\system32\Macromed\Flash\下的卸載文件
卸載完成 重啟電腦,在安裝flashplayer_10_ax_debug.exe ,這樣就可以了.
2、在eclipse中要指定瀏覽器
flex配置瀏覽器的路徑如下:window->preference->Genernal->Web Browser
+++++++++++++++++++++++++++
以上無效果,在flex中換一個debug瀏覽器設置成默認瀏覽器即可,在firefox中設置成默認瀏覽器豈可 即可..
使用flash卸載工具卸載flash版本,必須安裝兼容版本nes..,重新裝flexbuilder,在項目屬性中重新配置10.3版本,在項目屬性中重新換成fierfox將
NPSWF32.dll
拷貝到firefox的路徑下,
C:\WINDOWS\system32\Macromed\Flash
總之:flexbuilder重新安裝,debug的flash版本先在項目定義10,然后安裝11的兼容版本