I'm using Visual Studio 2010 C++ with Google test. I have a post-build event on my test project to run the test project. This works and the google test test results are displayed in the visual studio output window. However, now I'd like to set a debug breakpoint to step through a test. When I set a break point in either my test code or in the code it calls nothing happens.
How can I set a breakpoint with google test? Or probably more accurately, how can I get it to trigger the debugger?
I guess you have a separate project that builds the test. You should just run it under the debugger.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With