Windows crash dialog for tests

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Windows crash dialog for tests

Dzenan Zukic
Hi everybody,

I am trying to debug a thread pool class in ITK. Some of the tests crash "at random". When a program crashes in Windows, normally a dialog pops up with options "report, debug, close". When a test crashes while being invoked by cmake, there is no pop-up dialog which would allow me to attach a debugger and see why it crashed, it is rather reported like this:

179/181 Test #303: itkImportImageTest .........................................***Exception: SegFault  0.61 sec
ThreadPool constructor

"ThreadPool constructor" is the test's debug output, written before the crash occurred.

Can I disable this somehow and let the normal Windows crash dialog appear?

Option --interactive-debug-mode 1 sounded like what I wanted, but it did not have the desired effect.



Powered by

Please keep messages on-topic and check the CMake FAQ at:

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

CMake Support:
CMake Consulting:
CMake Training Courses:

Visit other Kitware open-source projects at

Follow this link to subscribe/unsubscribe: