简体   繁体   English

haxe / nme / flash例外通知

[英]Notifications of exceptions for haxe/nme/flash

I'm using Haxe and NME and the flash target to create a .swf. 我正在使用Haxe和NME和Flash目标创建一个.swf。 How do I make sure that uncaught Exceptions are shown? 如何确保显示未捕获的异常? Currently it seems they are just silently eaten up. 目前看来他们只是被默默地吃光了。 I'm compiling with: 我正在编译:

haxelib run nme build path/to/MyNmmlFile.nmml flash

I believe it is some flag I need to pass there, or something I need to set in the nmml file, but don't know what... 我相信这是我需要传递的标志,或者我需要在nmml文件中设置的标志,但是不知道是什么...

Try to add <haxeflag name="-debug" /> to your nmml. 尝试将<haxeflag name =“-debug” />添加到您的nmml中。 And use flashplayerdebug. 并使用flashplayerdebug。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM