[CMake] Tracing ctest crash on windows

Aaron Boxer boxerab at gmail.com
Thu Jan 5 15:17:09 EST 2017


Thanks, Bill and Jakob.  I did what you suggested and found the problem
Aaron

On Thu, Jan 5, 2017 at 11:51 AM, Bill Hoffman <bill.hoffman at kitware.com>
wrote:

> 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 <boxerab at gmail.com
>> <mailto:boxerab at 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/opensou
> rce/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/cmake
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20170105/980cb1fc/attachment.html>


More information about the CMake mailing list