Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
lldb API
# Python reference
import lldb
def main():
dbg = lldb.SBDebugger.Create()
target = dbg.CreateTarget("a.out")
if not target:
print("Can't create target!")
return 1
breakpoint = target.BreakpointCreateByName("main",
return 0
if __name__ == "__main__":
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.