On Tuesday, January 21, 2014 3:23:17 AM UTC+1, Tajkia Rahman Toma wrote:
>
>
>> What do you want to customize?
>>
> I am trying to track *all* the UI events and log which functions (and 
> line number of the function in the file) are executed. 
> Suppose a button's click event is registered to the function click:
>
I see, a function call tracer.

1) I believe you should use JSD2 (debugging engine) since this is the future

2) You probably want to implement your own panel (or UI), taking 
inspiration from e.g. the Callstack panel

3) You should also look at JSD2 based profiler, which tracks function call 
execution and does pretty much the same as you want. In addition you need 
to remember the hierarchy of calls.
Docs: https://getfirebug.com/wiki/index.php/Profiler

The GIT branch we use for JSD1 -> JSD2 Firebug transition is here:
https://github.com/firebug/firebug/tree/jsd2

You are interested in these modules:
https://github.com/firebug/firebug/tree/jsd2
*  
https://github.com/firebug/firebug/blob/jsd2/extension/content/firebug/console/profilerEngine.js
This is the code you need the most 

* 
https://github.com/firebug/firebug/blob/jsd2/extension/content/firebug/console/commands/profiler.js
This module implements the Command Line command and related UI logged into 
the Console panel. You can get some inspiration how the UI is done.

4) We are always happy to include some new API in Firebug core to help you 
(or other similar extensions) to be created, but you need to tell what 
exactly you need.

Honza


-- 
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/6515a51d-4003-4522-b59f-b5319c1a0251%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to