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

Where to create .lldbinit file #127

Closed
anbarasu0504 opened this issue Nov 4, 2015 · 4 comments
Closed

Where to create .lldbinit file #127

anbarasu0504 opened this issue Nov 4, 2015 · 4 comments

Comments

@anbarasu0504
Copy link

Its specified in the documentation as

Alternatively, download chisel and add the following line to your ~/.lldbinit file. If it doesn't exist, create it.

I really don't know where to locate this .lldbinit file.

I downloaded .lldbinit file and placed it in my project folder like .gitignore but it dint work.

Sorry for this newbie question, but I really done know where to locate this or create and put this.

@idrisr
Copy link
Contributor

idrisr commented Nov 4, 2015

We're all newbs once, not an issue.

~/ refers to your home directory. You can put your .lldbinit in other places, but then Xcode won't automatically load it. If you put it somewhere other than ~/.lldbinit, you need to source it in Xcode in the LLDB session like this:

(lldb) command source <mypath>/.llbinit

where <mypath> is replaced by the path of your .lldbinit

@anbarasu0504
Copy link
Author

Thanks a lot :) got it working 👍

@kastiglione
Copy link
Contributor

Thanks @idrisr

@wangzcOvO
Copy link

Thanks a lot ! @idrisr

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

4 participants