title: Tracing function calls in javascript (facebook)
body: <p>I'm trying to build a Chrome Extension that could be used to auto reply on a Facebook chat. My idea is to override the receive and send(ajax) functions and to act on their call. But I'm having problems. I can't find out which functions are used to send nor to receive chat messages. I tried to trace Ajax calls but I just can't find my way around their scrambled and overly complicated JavaScript files (which btw have very strange names).</p>
  
  <p>So can you please suggest me way of tracing the function calls? I can't rally find my way around debugging and really don't know where to start with break points.</p>