2013-03-12 55 views
3

我在FlashDevelop中構建了一個使用Haxe w/HaxeFlixel的遊戲,目前針對Windows平臺。我怎樣才能得到錯誤行調試Haxe的Windows?

雖然我在控制檯中收到錯誤消息,但我想知道是否也可以獲取錯誤行(就像flash一樣)。

我只從休得到像這樣ATM

Error: Null Object Reference

我與NME命令行編譯nme test windows -debug

回答

3

我張貼這個問題上Haxe Google Group這裏的「官方答案」 ,hxcpp的創建者:

Hi, There is a bug in the 3.0 HXCPP version that prevents the correct stack dump in debug mode in this case. This is fixed in the SVN version. You can also attach visual studio and put a function break point in "hx::CriticalError" and examine the stack there.

Hugh

hxcpp的下一個版本將解決此問題。

0

嘗試從CMD運行。我相信,例外信息將被打印在那裏。別忘了設置'-debug'模式。