path: root/src/plugins
diff options
authorErik Verbruggen <>2016-05-12 13:30:26 +0200
committerErik Verbruggen <>2016-09-19 08:13:27 +0000
commit3982e710cbde648b15bcf71b855d9145e308180f (patch)
treea96c917345e21dbd3b168e6b14724709c1f6385a /src/plugins
parent42ac179631680a1df9c78d6051a1effc33d0d267 (diff)
QTest: add debugger detection for macOS
Which, in Mach speak, is an exception handler for the process. Also check if the crash reporter is in a mode that will show a dialog for any crashed process. If so, leave it to that crash reporter to do stack traces. This patch has the nice side-effect that a crashing test won't have both a debugger and CrashReporter generate stack traces. You can check the settings for CrashReporter on macOS with the command: defaults read DialogType If it is set to 'basic' or 'developer' or 'crashreport', CrashReporter will show the dialog. If set to 'server' it won't. Any unattended system should have it set to 'server' (which will have QTest invoke lldb to generate stack traces): defaults write DialogType server Change-Id: I39153e44cff15c00341857f178b1dcfab154f8ee Reviewed-by: Simon Hausmann <>
Diffstat (limited to 'src/plugins')
0 files changed, 0 insertions, 0 deletions