| Issue 195: | haxe.Stack.exceptionStack returns empty array | |
| 2 people starred this issue and may be notified of changes. | Back to list |
What steps will reproduce the problem?
1. Throw and catch an exception, trace the current exception stack
class Main
{
public static function main()
{
try
{
throw "ERROR";
}
catch(error:Dynamic)
{
trace(haxe.Stack.exceptionStack());
}
}
}
2. Build file:
-main Main
-cpp cpp
-debug
-cmd cpp/Main-debug
3.
What is the expected output? What do you see instead?
Expect similar to neko/js/as3 :
Main.hx:11: [FilePos(null,Main.hx,7)]
Instead it is empty:
Main.hx:11: []
What version of the product are you using? On what operating system?
haxe 2.10, hxcpp 2.10, osx 10.8
Please provide any additional information below.
Feb 14, 2013
Project Member
#1
gameh...@gmail.com
Status:
Fixed
Feb 14, 2013
I have improved the exception stack - should be working now.
Sep 20, 2013
This is still not fixed in Haxe 3.1.0, NME 3.5.6.
Jul 1, 2014
any update on this? |