Index: lldb/source/Interpreter/CommandInterpreter.cpp =================================================================== --- lldb/source/Interpreter/CommandInterpreter.cpp +++ lldb/source/Interpreter/CommandInterpreter.cpp @@ -3224,6 +3224,14 @@ result.AppendMessageWithFormat("Session's transcripts saved to %s\n", output_file->c_str()); + if (Host::IsInteractiveGraphicSession()) { + const FileSpec file_spec; + error = file->GetFileSpec(const_cast(file_spec)); + if (error.Success()) + if (!Host::OpenFileInExternalEditor(file_spec, 1)) + result.AppendMessage("Unable to open file in external editor\n"); + } + return true; }