summaryrefslogtreecommitdiffstats
path: root/tests/auto/testlib/selftests/expected_cmptest.xml
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@theqtcompany.com>2015-07-22 12:17:25 +0200
committerSimon Hausmann <simon.hausmann@theqtcompany.com>2015-07-22 14:49:35 +0000
commitaa42a1a67e7f8cd9e4aa1577861189abb98a25e0 (patch)
tree246488eb2a14d313fc81cd9a376ef52ace96dd21 /tests/auto/testlib/selftests/expected_cmptest.xml
parenteff4a29489caa8758ec2fe1e1afa43f53e11e5d8 (diff)
QTestLib/Windows: Try to obtain a stack trace on crash.
Add a helper class for resolving debug symbols by dynamically loading dbghelp.dll and try to obtain a symbol at the exception location and a stack trace by using CaptureStackBackTrace(). The output looks like: A crash occurred in d:\dev\projects\crashingtest_5d\debug\tst_crashingtesttest.exe. Exception address: 0x0000000052E2853A Exception code : 0xc0000005 Nearby symbol : QString::length Stack: # 1: windowsFaultHandler() - 0x00007FFE080CACD0 ... # 8: QString::length() - 0x0000000052E28530 [ChangeLog][QtTest] A stack trace will be output on standard error if a test crashes. Task-number: QTBUG-47370 Change-Id: I7217e02ec7dc0c96132fe84d1a175d0bed9c5aaf Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com> Reviewed-by: Oliver Wolff <oliver.wolff@theqtcompany.com>
Diffstat (limited to 'tests/auto/testlib/selftests/expected_cmptest.xml')
0 files changed, 0 insertions, 0 deletions