mirror of https://github.com/Icinga/icinga2.git
parent
a6c411c6cb
commit
dcfc171c61
|
@ -66,7 +66,8 @@ void ConsoleCommand::BreakpointHandler(ScriptFrame& frame, ScriptError *ex, cons
|
||||||
ex->SetHandledByDebugger(true);
|
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
|
#ifdef HAVE_EDITLINE
|
||||||
rl_completion_entry_function = ConsoleCommand::ConsoleCompleteHelper;
|
rl_completion_entry_function = ConsoleCommand::ConsoleCompleteHelper;
|
||||||
|
@ -267,7 +268,8 @@ incomplete:
|
||||||
if (line == "$quit")
|
if (line == "$quit")
|
||||||
break;
|
break;
|
||||||
|
|
||||||
std::cout << "Unknown debugger command: " << line;
|
std::cout << "Unknown debugger command: " << line << "\n";
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!command.empty())
|
if (!command.empty())
|
||||||
|
|
Loading…
Reference in New Issue