I use VS 2010.
I need to run .exe
that consists of BOOST_AUTO_TEST_SUITE
s to test my library under debugger because I get memory access violation and memory leaks. I have no main function, just exe (well and the .cpp files).
How to run this exe under debugger?
UPDATE
If you have a solution with multiple projects in it, and you need to run 1 project that contains unit tests, for instance, under debugger, you need :
- right click on this project in
Solution explorer
- click
"Set as StartUp project"
- put some break points
Personaly I did not know that I needed to set up my project as startup.