Improve messages for the debugger

refs #10559
This commit is contained in:
Gunnar Beutner 2015-11-07 10:22:55 +01:00
parent a6c411c6cb
commit dcfc171c61
1 changed files with 4 additions and 2 deletions

View File

@ -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())