Hi all,
I found cocos2d-js can use CaptureCurrentStack, but i dont know how to do next?
Any one can help me?
@ricardo :), can you help me?
perhaps @pandamicro know the answer.I don’t know what’s “CaptureCurrentStack”… what is that? a function ?
1 Like
This is a funtion:
JS::CaptureCurrentStack(JSContext *cx, JS::MutableHandleObject stackp, unsigned maxFrameCount)
https://github.com/ricardoquesada/Spidermonkey/blob/master/js/src/jsapi.cpp Line 6524
Sorry, I haven’t used that function.
1 Like