how to debug swf browser crashes

后端 未结 2 887
北荒
北荒 2021-01-06 09:00

My swf is occasionally crashing the browser (or just crashing the plugin as chrome tells me).

How do I diagnose the bug? I am developing for flash player 9 using fl

相关标签:
2条回答
  • 2021-01-06 09:37

    It's likely that the flash plugin is causing the crash before your log files can be flushed. The only thing I can recommend is to install the Windows Debugging Tools.

    Then bring up a command prompt (as administrator if in vista), and type the following:

    cd "%programfiles%\Debugging Tools for Windows"
    adplus -crash -pn iexplore.exe
    

    (Obviously, change iexplore.exe to whatever browser you are running against.)

    Now, use your flex application in the browser until it crashes. This will create a crash dump in %programfiles%\Debugging Tools for Windows\Crash_Mode__Date_02-18-2009__Time_14-40-0202 (actual date will be used).

    You can now send that mini-dump (smallest dmp file) to Adobe so they can analyze it properly.

    If you want to view the (native) call stacks in hope of discovering what caused the issue, you can load windbg and load the dump file (File > Open Crash Dump). Once it's loaded type the following at the windbg commandline and hit enter:

    ~* kb 2000
    
    0 讨论(0)
  • 2021-01-06 09:37

    Some specifics on the bug I uncovered regarding masks and textfields:

    http://summitprojectsflashblog.wordpress.com/2008/04/16/flash-browser-crashing-bug/

    http://team.bkwld.com/2007/11/21/flash-player-crashes-browser-when-closing-window-possible-fix/

    0 讨论(0)
提交回复
热议问题