title: Telling Firebug to Break as Soon as any Javascript is Executed
body: <p>I've inherited a pile of code that's doing unexpected things when I click on some <code>&lt;button&gt;</code> elements.  </p>
  
  <p>The page has a lot of Javascript, and it's unclear what, if any, events have been setup on the button or its parent elements.  I'm trying to find where execution starts so I can debug what's going on.</p>
  
  <p>Is there a way to have Firebug (or any Javascript debugger) break whenever <strong>any</strong> javascript code is executed?  Maybe someway to setup a break point on each line programmatically? Or is there some other way to find out which event the button is responding to (page users boh Prototype, jQuery, and some custom Javascript.  I know.)</p>