Firebug 2.0 is based on JSD2 API (JS debugger API in Firefox)
https://wiki.mozilla.org/Debugger

https://blog.getfirebug.com/2014/04/04/firebug-2-0-alpha-2/

If you implementing a debugger you want to use these API
+ perhaps RDP - remote debugging protocol
https://wiki.mozilla.org/Remote_Debugging_Protocol

Honza


On Monday, April 7, 2014 6:56:54 PM UTC+2, Josh Godsiff wrote:
>
> Hi all
>
> This isn't exactly a question about Firebug specifically, but rather how 
> (or where in it's source-code) it does something.
>
> Specifically, would someone be able to tell me how the Script tab grabs 
> the source-code for all JavaScript on a page. Also how it manages to 
> suspend execution of JavaScript (e.g. with breakpoints).
>
> The reason I'm asking here is because I'm currently writing a different 
> piece of software, and need to know how to do those two things, and Firebug 
> was the first thing I could think of that had both capabilities (and was an 
> add-on, rather than something inbuilt into the browser).
>
> Thanks
> - Josh
>

-- 
You received this message because you are subscribed to the Google Groups 
"Firebug" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/firebug.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/firebug/047c94ac-06bb-4b93-b0a1-22f53beb89e9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to