I'm debugging an interactive, command-line program with lldb. The program presents its own prompt to the user (in a manner similar to fdisk).
My question is, how do I escape, or get back to, the lldb prompt while I'm executing the program?
Here's how I go about launching the program and getting to the point that I'm inquiring about:
bash$ lldb progname progarg1
(lldb) target create "progname"
Current executable set to 'progname' (x86_64).
(lldb) settings set -- target.run-args "progarg1"
(lldb) process launch
Process launched Process 29286 launched: '/home/chb/progdir/progname' (x86_64)
progname>help
Commands are:
buy: use schmeckles to buy a plumbus
lube: rub with the fleeb
...
progname>
After entering the program's command loop, how do I get back to lldb to issue other, lldb-related commands?