Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add documentation on how to write scripts #3

Closed
2 tasks done
sebastianludwig opened this issue Mar 1, 2019 · 0 comments
Closed
2 tasks done

Add documentation on how to write scripts #3

sebastianludwig opened this issue Mar 1, 2019 · 0 comments

Comments

@sebastianludwig
Copy link
Member

sebastianludwig commented Mar 1, 2019

  1. Be able to write scripts
    • LLDB command to print the project path (parse source info)
    • LLDB command to take a project relative path to a directory containing .lldb files. Create alias <file> command source <file>.lldb for every file in that directory.
  2. Write documentation
    • Create a breakpoint anywhere in your code
      • Swift:
        • a symbolic breakpoint in @objc <module>.<AppDelegate>.init (@objc LLDO.AppDelegate.init)
      • ObjC
        • In your main function: Symbol main in your module (LLDO)
        • In any implemented AppDelegate method
    • execute debugger command create_actions <path>. Depending on where you set your breakpoint, path might need be be adjusted (give or take a ..)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant