Re: How to inspect Js callstack from C++ callstack, I am using visual studio to debugging

2015-06-02 Thread Yonggang Luo
Thanks for all, that's really helped!. 2015-06-02 20:47 GMT+08:00 Honza Bambas : > invoke DumpJSStack() from the debugger. It will output to console or to the > VC++ output window. > > -hb- > > > On 6/1/2015 11:26, 罗勇刚(Yonggang Luo) wrote: >> >>mozjs.dll!js::jit::BaselineScript::icEntryFromPC

Re: How to inspect Js callstack from C++ callstack, I am using visual studio to debugging

2015-06-02 Thread Honza Bambas
invoke DumpJSStack() from the debugger. It will output to console or to the VC++ output window. -hb- On 6/1/2015 11:26, 罗勇刚(Yonggang Luo) wrote: mozjs.dll!js::jit::BaselineScript::icEntryFromPCOffset(unsigned int pcOffset) Line 553 C++ mozjs.dll!js::jit::DebugModeOSRVolatileStub::invali

Re: How to inspect Js callstack from C++ callstack, I am using visual studio to debugging

2015-06-01 Thread R Kent James
On 6/1/2015 2:53 AM, Philipp Kewisch wrote: Not sure how this works in Visual Studio, but check out: http://www-archive.mozilla.org/scriptable/javascript-stack-dumper.html In gdb you can do "call DumpJSStack()" Philipp Here's what I do. After your C++ breakpoint is hit, in Visual Studio do

Re: How to inspect Js callstack from C++ callstack, I am using visual studio to debugging

2015-06-01 Thread Philipp Kewisch
Not sure how this works in Visual Studio, but check out: http://www-archive.mozilla.org/scriptable/javascript-stack-dumper.html In gdb you can do "call DumpJSStack()" Philipp ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mo

How to inspect Js callstack from C++ callstack, I am using visual studio to debugging

2015-06-01 Thread Yonggang Luo
mozjs.dll!js::jit::BaselineScript::icEntryFromPCOffset(unsigned int pcOffset) Line 553 C++ mozjs.dll!js::jit::DebugModeOSRVolatileStub::invalid() Line 56 C++ mozjs.dll!js::jit::DoGetElemFallback(JSContext * cx, js::jit::BaselineFrame * frame, js::jit::ICGetElem_Fallback * stub_, JS::Handle lh