My favorites | Sign in
Project Home Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 195: haxe.Stack.exceptionStack returns empty array
2 people starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  ----
Closed:  Feb 2013


 
Reported by domdelor...@gmail.com, Aug 19, 2012
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
I have improved the exception stack - should be working now.
Status: Fixed
Feb 14, 2013
Project Member #2 gameh...@gmail.com
I have improved the exception stack - should be working now.
Sep 20, 2013
#3 srikanth...@gmail.com
This is still not fixed in Haxe 3.1.0, NME 3.5.6.
Jul 1, 2014
#5 ben...@gmail.com
any update on this?

Powered by Google Project Hosting