Hi Jan,
As far as the UI is concerned, I was thinking of a collapsible folder-
view not unlike the one you find in most common file directory
browsers. This could be displayed in a seperate panel much like how
the callstack is displayed currently.
for e.g.
function a()
{
...
b();
...
c();
}
function b()
{
...
c();
...
}
function c()
{
...
d();
...
XHR.send();
...
}
function d()
{
...
e();
...
}
function e()
{
...
}
a();
For the above, a folder-style UI would look like:
GLOBAL
|
- a()
|
- b()
| |
| - c()
| |
| - d()
| | |
| | - e()
| |
| - XHR.send()
|
- c()
|
- d()
| |
| - e()
|
- XHR.send()
If a() was registered as an event handler, then the Event
which triggered the callback would be displayed on top.
On Nov 15, 8:51 am, Jan Odvarko <[EMAIL PROTECTED]> wrote:
> Hi,
> sound interesting, could you provide more info about how the
> "runtime call graphs" should look like within Firebug's UI?
> Honza
>
> On Nov 15, 7:43 am, Manoj <[EMAIL PROTECTED]> wrote:
>
> > I was wondering if it would be possible to enhance FB to capture and
> > display runtime call graphs along with event information and XHR
> > communication. The use for such an option would be to rapidly
> > understand web application logic (especially when dealing with 3rd
> > party applications) and be able to focus on the relevant script.
>
> > I've installed the trace enabled version and will be playing with it
> > some more to gain a better understanding of the internals (FWIW, I'm a
> > newbie to FF extension development, XUL etc.) I'm willing to invest
> > my time into this and should be able to convince my employer as well.
> > Would appreciate if someone more qualified can comment on the
> > feasibility of such a project and/or point me in the right direction.
>
> > Thanks,
> > Manoj
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Firebug" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/firebug?hl=en
-~----------~----~----~----~------~----~------~--~---