From dcfc171c612a58871ee655869a77cb94bc245510 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Sat, 7 Nov 2015 10:22:55 +0100 Subject: [PATCH] Improve messages for the debugger refs #10559 --- lib/cli/consolecommand.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/cli/consolecommand.cpp b/lib/cli/consolecommand.cpp index 96877e7c1..632ef8aa7 100644 --- a/lib/cli/consolecommand.cpp +++ b/lib/cli/consolecommand.cpp @@ -66,7 +66,8 @@ void ConsoleCommand::BreakpointHandler(ScriptFrame& frame, ScriptError *ex, cons ex->SetHandledByDebugger(true); } - std::cout << "You can leave the debugger and continue the program with \"$quit\".\n"; + std::cout << "You can inspect expressions (such as variables) by entering them at the prompt.\n" + << "To leave the debugger and continue the program use \"$quit\".\n"; #ifdef HAVE_EDITLINE rl_completion_entry_function = ConsoleCommand::ConsoleCompleteHelper; @@ -267,7 +268,8 @@ incomplete: if (line == "$quit") break; - std::cout << "Unknown debugger command: " << line; + std::cout << "Unknown debugger command: " << line << "\n"; + continue; } if (!command.empty())