title: How do I find out what functions are called when a button is pressed in Chrome Console?
body: <p>I am trying to teach myself the Google Closure javascript library. I am examining the TreeControl UI widget.</p>
  
  <p>How can I use Chrome Console to analyze what functions are run when I click on the "Cut" button in the demo below? For instance, can I somehow set a break point for that? I've tried viewing the source and looking around, but I feel that Chrome Console may offer a more systematic method.</p>
  
  <p><a href="https://github.com/google/closure-library/blob/master/closure/goog/demos/tree/demo.html" rel="noreferrer">https://github.com/google/closure-library/blob/master/closure/goog/demos/tree/demo.html</a></p>