Launching a process in another window versus same window?

Does LLDB have a way to distinguish between a desire to launch a process in the same window versus a new window? If I’m not mistaken launching a new process just sends stdout and stdin to the same terminal by default, but on Windows the normal / expected debugging experience is to launch a separate console window and interact with the debugger and the application through separate consoles.

Does LLDB distinguish between these two cases somehow, and if so what setting am I looking for? I don’t see anything in lldb::LaunchFlags

Hi Zachary,

lldb command line has an option very similar to the one to which you refer. Do "help process launch" and check out option -t (--tty). I think, that it only works correctly on Mac at present, but I guess we could presume to work on others.

Matt

Zachary Turner wrote:

Does LLDB have a way to distinguish between a desire to launch a process in the same window versus a new window? If I'm not mistaken launching a new process just sends stdout and stdin to the same terminal by default, but on Windows the normal / expected debugging experience is to launch a separate console window and interact with the debugger and the application through separate consoles.

Does LLDB distinguish between these two cases somehow, and if so what setting am I looking for? I don't see anything in lldb::LaunchFlags

To report this email as spam click here <https://www.mailcontrol.com/sr/MZbqvYs5QwJvpeaetUwhCQ==>.

_______________________________________________
lldb-dev mailing list
lldb-dev@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev

Member of the CSR plc group of companies. CSR plc registered in England and Wales, registered number 4187346, registered office Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom
More information can be found at www.csr.com. Keep up to date with CSR on our technical blog, www.csr.com/blog, CSR people blog, www.csr.com/people, YouTube, www.youtube.com/user/CSRplc, Facebook, www.facebook.com/pages/CSR/191038434253534, or follow us on Twitter at www.twitter.com/CSR_plc.
New for 2014, you can now access the wide range of products powered by aptX at www.aptx.com.

Yes the option is currently the --tty option. You might want to just default that to being the default case for all debugging on windows and ignore that option value.