On 1/5/2017 9:32 AM, Jakob van Bethlehem wrote:

CTest is not some magical tool that internally runs your test or
something like that - instead CTest just fires up your test executable
and does clever things with the output. In the same way you can just set
your test project as startup-project, and debug it like any other
executable.

Sincerely,
Jakob

On Wed, Jan 4, 2017 at 2:43 PM, Aaron Boxer <boxe...@gmail.com
<mailto:boxe...@gmail.com>> wrote:

    Hello,
    I am on windows, with visual studio 2015.
    Some of my ctest tests are crashing with exception.
    Is there a way of debugging these tests ?

    When I run in debug mode, I get an exception dialog,
    but can't drop into debugging environment.
If you run ctest -VV it will show the full command line. Best way is to just run the same command in the debugger.

-Bill

--

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake

Reply via email to