Message from discussion New extension for firebug.
Received: by 10.52.21.68 with SMTP id t4mr36257506vde.8.1335959176656;
Wed, 02 May 2012 04:46:16 -0700 (PDT)
Received: by 10.52.109.106 with SMTP id hr10ls260378vdb.0.gmail; Wed, 02 May
2012 04:46:11 -0700 (PDT)
Received: by 10.52.97.101 with SMTP id dz5mr819852vdb.3.1335959171744; Wed, 02
May 2012 04:46:11 -0700 (PDT)
Authentication-Results: ls.google.com; spf=pass (google.com: domain of
odva...@gmail.com designates internal as permitted sender)
Received: by w7g2000vbg.googlegroups.com with HTTP; Wed, 2 May 2012 04:46:11
Date: Wed, 2 May 2012 04:46:11 -0700 (PDT)
X-HTTP-UserAgent: Mozilla/5.0 (Windows NT 6.0; rv:11.0) Gecko/20100101 Firefox/11.0,gzip(gfe)
Subject: Re: New extension for firebug.
From: Jan Honza Odvarko <odva...@gmail.com>
To: Firebug <firstname.lastname@example.org>
Content-Type: text/plain; charset=ISO-8859-1
On May 2, 12:05=A0pm, Anthony Maia <anthony.mai...@gmail.com> wrote:
> I'm a searcher student working on workarounds. I want to add a button to
> firebug which retrieve a few line around a breakpoint.
> Then expose some possible workarounds to the developer.
Where exactly the button should be available?
> I take the extension consoleexport as exemple.
> But here is my problem. How to know the line of a breakpoint?
Check the "breakpoints" panel to see how to get a list of breakpoints.
The logic is based on FBS.enumerateBreakpoints, which also provides
url and line for a breakpoint
This line shows how to get the source line for the breakpoint:
You can use the same to get surrounding lines...