I am having a exception crash issue and I am trying to edit this file to get more info about the crash.
Where is .gdbinit
is located and how can I edit it?
You can also put .gdbinit
in your debugging folder, this makes more applicable for debugging different apps. GDB will automatically load ./.gdbinit
for current debugging.
You need to create a new file called .gdbinit - put it in your home directory. Now every time gdb starts it will execute the commands in this file. ".gdbinit" is a file you can drop in your home directory that gdb will parse when gdb launches, either from the command line or from within Xcode.
You can do
nano ~/.gdbinit
modify your file and save it. Verify the changes with cat ~/.gdbinit
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With