I define lldb string strings when debugging a program in Xcode 5, for example
type summary add -s "${var._operation} ${var._text}" DMDiff
It works great. However, when I close Xcode, restart it, and continue debugging the session, my summary lines have disappeared. Saving a project in advance does not matter.
My question is: what is the best way to make these summary lines persist from Xcode session to Xcode session, i.e. save them in the project or debugging information?
Workaround: I found out that I can define summary lines in the ~ / .lldbinit file so that they are saved and this works. However, this seems cumbersome as well as global, and not based on each project. I might need a different summary line for the data type in different projects.
source
share