Error when trace an object

I am converting a game that uses starling.
I make a classe that extends Starling Sprite. In some point inside that class i trace this object

trace(this)

when target html5 i have the following error:
Uncaught RangeError: Maximum call stack size exceeded
at Array.toString (native)

I realize that if I add the method toString() to the EventDispatcher.hx (starling) the error is gone.

I don’t know, but I think this methot is missing on Starling library.

Hmm, perhaps there is some child object that it is trying to trace out that is too large. Does this occur with the Starling demo as well?

I made a mistake. I was tracing (this) inside a closure, that was causing the error.
Sorry about that.

Actuate.tween(this, 2, {rotation:Math.PI * 2}).ease(Back.easeOut).onComplete(function(){
			trace(this);
			this.rotation = 0;
		});

Interesting, maybe it ended up being recursive