diff options
author | David Schulz <david.schulz@qt.io> | 2019-06-19 11:01:19 +0200 |
---|---|---|
committer | David Schulz <david.schulz@qt.io> | 2019-06-19 09:45:35 +0000 |
commit | e9858abc4305c5f12e61ad23a680d4a4f4c1cae7 (patch) | |
tree | 5d116eac8c9414888e935a511b8743432e7fcecf /tests | |
parent | 376c6b9d59cef608448acc6cec30c32e3836c4dd (diff) |
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>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/manual/debugger/simple/simple_test_app.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/manual/debugger/simple/simple_test_app.cpp b/tests/manual/debugger/simple/simple_test_app.cpp index 29286f37e3..864e20d40a 100644 --- a/tests/manual/debugger/simple/simple_test_app.cpp +++ b/tests/manual/debugger/simple/simple_test_app.cpp @@ -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 |