Friendly stack traces for Haxe/JS. Makes haxe.CallStack point to haxe sources.
Haxe
Permalink
Failed to load latest commit information.
js
src/jstack
.gitignore
LICENSE
README.md
extraParams.hxml
haxelib.json

README.md

JStack

This library automatically transforms haxe.CallStack.callStack() and haxe.CallStack.exceptionStack() results to make them point at Haxe sources instead of generated js file. The only supported target is js.

Works only in debug mode on js target. Does not affect your app if compiled without -debug flag or to some other target.

In debug mode Haxe generates a source map, which is utilized by JStack using source-map library (bundled with JStack and embded automatically)

Installation

haxelib install jstack

Usage

Just add JStack to compilation with -lib jstack compiler flag.