Most of the time you want to see the literal contents of your strings, so the default lldb behavior for print is correct. However, it would be useful to have a format option to "render" the output in the same way the standard libraries would do a string. That's basically what the gdb "printf" command is. Please file a bug with the lldb.llvm.org bug reporter asking for this.
Just like with gdb, you can get the standard library to render the text for you:
(lldb) expr (void) printf("Some text\nMore text\nEven more text\n")
Some text
More text
Even more text
(lldb)
I cast it to void in this case because I didn't care about the return value, and it makes it harder to see the text.
As was pointed out in the post you referred to, if your output is not going to a terminal somewhere, that isn't helpful, so some explicit "render the output" option would be a good idea as well. But that should only happen if you attach to, rather than run, your program in the debugger.
lldb C++ print string
? Is it because the "printable character"/'C' formatter doesn't expand the newline? Why do you think LLDB is capable of anything further than what is detailed on this remarkably extensive documentation page? – Scarylldb print
command doesn't print a formatted string. I edited my post to state that obvious point. – Chuddar