aprantl added inline comments.

================
Comment at: lldb/source/Host/macosx/objcxx/Host.mm:411
 
+bool Host::IsInteractiveSession() {
+#if !TARGET_OS_OSX
----------------
mib wrote:
> mib wrote:
> > aprantl wrote:
> > > Wait. I think this is a misnomer. An lldb session over SSH is 
> > > interactive, but not graphical. Should this be called 
> > > IsInteractiveDesktopSession/IsInteractiveGraphicSession/IsInteractiveGUISession?
> > FWIW, if you `open` a file on macOS over SSH, it would still open it in the 
> > default app. I'd expect the same behaviour here. 
> > FWIW, if you `open` a file on macOS over SSH, it would still open it in the 
> > default app. I'd expect the same behaviour here. 
> 
> ... Even if you're not in front of the screen.
Right, that's why we don't want to open files in the external editor if we are 
connected over SSH.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D124872/new/

https://reviews.llvm.org/D124872

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to