title: Breaking on a button click event in Visual Studio debugger
body: <p>This question is regarding the debugger in Visual Studio 2008. I am working on a C++/MFC application with a huge codebase (thousands of .cpp files). I'm looking for a way to tell the debugger, "The next time I click a button in my app, stop at the function called by that button". I'm trying to avoid trolling through those thousands of files to find the function, or the resource for the button. I'd a thought it would be dead simple to trap a button click event with the debugger... but I don't see anything obvious.</p>
  
  <p>Thanks!</p>
  
  <p>Philip</p>