Flashdevelop + haxe — repeated “An I/O error has occured” errors

蓝咒 提交于 2020-01-15 03:32:04

问题


I'm getting small dialog boxes that pop up saying I/O Error occurred. What causes this, and how should I fix this?

Edit: what happens is that after i run my flash game, FlashDevelop will try to connect to the Flash debugger, but apparently fail and give me the above error. I have both the debug standalone player and the ActiveX debug control for Firefox.


回答1:


To activate interactive debugging with haxe/Flash/FlashDevelop you have to add the fdb switch and network-sandbox. To do that open Project -> Properties -> Compiler Options -> Directives and add the following two lines:

fdb
network-sandbox

That should be all you need. After that you should be able to set breakpoints, inspect object fields and local variables and profile your code.




回答2:


I didn't have haxe, but I had the same error and to get rid of it I followed the advice from here:

Specify the path to the debug player (flashplayer_10_sa_debug.exe or FlashPlayerDebug.exe in the SDK) in FlashDevelop Tools > Program settings > FlashViewer



来源:https://stackoverflow.com/questions/3623363/flashdevelop-haxe-repeated-an-i-o-error-has-occured-errors

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