Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Map PC back to statement

22 views
Skip to first unread message

Jus LL

unread,
Apr 23, 2013, 4:32:22 PM4/23/13
to
Hi Group,

In JSD interface, there are PCToLine, LineToPC functions in stack frame. I am wondering if there is any way for me to map pc directly back to specific statement? Because sometimes the code could be minified, a PC can map to a line that contains multiple statements.

Thanks

Bobby Holley

unread,
Apr 24, 2013, 1:47:15 PM4/24/13
to Jus LL, dev-tech-...@lists.mozilla.org
I don't know the answer here, but just wanted to give a general heads-up
that JSD is going away soonish, more or less once Firebug is fully migrated
to jsdbgapi2 IIRC.

bholley
> _______________________________________________
> dev-tech-js-engine mailing list
> dev-tech-...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-tech-js-engine
>

Steve Fink

unread,
Apr 24, 2013, 6:46:29 PM4/24/13
to Bobby Holley, Jus LL, dev-tech-...@lists.mozilla.org
And I believe the new Debugger API contains column offsets. See eg
Debugger.Script#getAllColumnOffsets() though I don't see that at
https://wiki.mozilla.org/Debugger#Debugger.Script

Maybe it's new?

Steve Fink

unread,
Apr 24, 2013, 6:46:29 PM4/24/13
to Bobby Holley, Jus LL, dev-tech-...@lists.mozilla.org
And I believe the new Debugger API contains column offsets. See eg
Debugger.Script#getAllColumnOffsets() though I don't see that at
https://wiki.mozilla.org/Debugger#Debugger.Script

Maybe it's new?



On 04/24/2013 10:47 AM, Bobby Holley wrote:
0 new messages