-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I noticed that the profiler doesn't report code that runs in DOM event 
listeners (most of them at least). Any calls triggered by an event handler are 
just missing from the profile report. That includes most of the interesting 
code in my application. Is there anything I can do about it?

For example the code below will show "No activity to profile" after the button 
is pressed. Tested with Firebug 1.3.0b3 on Firefox 3.1b1 (Linux).

Cheers,

Marcus


<html>
<head>
<script type="text/javascript">
  function run() {
    console.profile()
  }

  function foo() {
    console.log('foo');
    console.profileEnd();
  }
</script>
</head>
<body onload="run()">
<form>
<input type="button" value="Foo" onclick="foo()" />
</form>
</body>
</html>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkkdOlgACgkQXjXn6TzcAQmxoQCfT8AdS3tSO/THeJZ5OXPoFBEO
UWgAoJ4k/QyTAIz0l+F+RtFEUzC3YYL9
=2bUE
-----END PGP SIGNATURE-----



--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to