Skip to content

Instantly share code, notes, and snippets.

@insanehunter
Last active December 12, 2015 06:48
Show Gist options
  • Save insanehunter/4731464 to your computer and use it in GitHub Desktop.
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).
script ('SenTestingKit' in [x.file.basename for x in lldb.target.modules] and lldb.thread.GetProcess().Continue())
@dwlnetnl
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment