Debugger: Use DebugBreak() to interrupt in simple test

Change-Id: Ia15fc8c780b53f1b84af16a172af79b3145e9c39
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This commit is contained in:
David Schulz
2019-06-19 11:01:19 +02:00
parent 376c6b9d59
commit e9858abc43

View File

@@ -276,8 +276,7 @@ void dummyStatement(...) {}
#if USE_AUTOBREAK
# ifdef Q_CC_MSVC
# include <crtdbg.h>
# define BREAK_HERE _CrtDbgReport(_CRT_WARN, NULL, NULL, "simple_test_app", NULL)
# define BREAK_HERE DebugBreak();
# else
# define BREAK_HERE asm("int $3; mov %eax, %eax")
# endif