title: Can you see JavaScript methods in a IE's debugger watch window?
body: <p>Is it possible to see defined methods in the IE developer toolbar's watch window?</p>
  
  <p>e.g.</p>
  
  <p>if I defined a function called hello as a global, could I find it by looking around the DOM?</p>
  
  <pre><code>function hello() {
      alert("hello");
  }
  </code></pre>
  
  <p>If so, where about's in the watch window would I find them? If I "watch" the window object and then navigate to "methods" all I can see are the built-in methods not my new function hello().</p>
  
  <hr>
  
  <p>EDIT:</p>
  
  <p>The reason I ask, is that I have a number of deeply nested framesets*, which I need to access the JS methods from/to the levels in the hierarchy. So I don't have to manually hunt around trying to find which level in the hierarchy I need, I was hoping to be able to "browse it".</p>
  
  <p>My question above is more of a general question, as I'm interested if you can browse methods using debugging tools (in fact, it doesn't really need to be IE developer toolbar - but in my context it would help).</p>
  
  <p>*I thought I'd better mention my view on framesets, before I spark an off topic thread. I won't go into any further detail about the framesets here - it's ugly I know - but it's legacy code and I don't have a choice :-(</p>