Last active
December 12, 2015 06:48
-
-
Save insanehunter/4731464 to your computer and use it in GitHub Desktop.
LLDB command to skip breakpoint when running unit tests (when SenTestingKit framework is loaded).
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
script ('SenTestingKit' in [x.file.basename for x in lldb.target.modules] and lldb.thread.GetProcess().Continue()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Great idea! But it doesn't seem to work in Xcode 6.1. I'm using XCTest, so I did use
script (lldb.target.module[0].file.basename == 'xctest' and lldb.thread.GetProcess().Continue())
. When LLDB breaks on the breakpoint and I execute manually the command it works, but as breakpoint command not. Do you have an idea how to solve it?