{"id":3549,"date":"2014-03-28T10:35:53","date_gmt":"2014-03-28T10:35:53","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/28\/how-to-access-javascript-execution-trace-at-runtime-in-firefox-collection-of-common-programming-errors\/"},"modified":"2014-03-28T10:35:53","modified_gmt":"2014-03-28T10:35:53","slug":"how-to-access-javascript-execution-trace-at-runtime-in-firefox-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/28\/how-to-access-javascript-execution-trace-at-runtime-in-firefox-collection-of-common-programming-errors\/","title":{"rendered":"How to access JavaScript execution trace at runtime in Firefox?-Collection of common programming errors"},"content":{"rendered":"<blockquote>\n<p>Firebug is currently using JSD (jsdIDebuggerService) to figure out, which line is executable. However, the plan is to switch to JSD2 (work in progress) https:\/\/wiki.mozilla.org\/Debugger<\/p>\n<p>You should also base your extension on JSD2<\/p>\n<p>Look for <code>getLineOffsets(line)<\/code> and <code>getOffsetLine(offset)<\/code> in the Debugger document. I didn&#8217;t test it, but I think that if getLineOffset returns null, the line is not executable.<\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>Firebug is currently using JSD (jsdIDebuggerService) to figure out, which line is executable. However, the plan is to switch to JSD2 (work in progress) https:\/\/wiki.mozilla.org\/Debugger You should also base your extension on JSD2 Look for getLineOffsets(line) and getOffsetLine(offset) in the Debugger document. I didn&#8217;t test it, but I think that if getLineOffset returns null, the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-3549","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/3549","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=3549"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/3549\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=3549"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=3549"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=3549"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}