Search This Blog

Tuesday, June 29, 2010

Breaking on a button click event in Visual Studio debugger

Programmer Question

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.



Thanks!



Philip



Find the answer here

No comments:

Post a Comment

Related Posts with Thumbnails