简体   繁体   中英

Notifications of exceptions for haxe/nme/flash

I'm using Haxe and NME and the flash target to create a .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...

Try to add <haxeflag name="-debug" /> to your nmml. And use flashplayerdebug.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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