mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-16 10:14:28 +02:00
parent
ff8a477a6e
commit
679983dd9a
@ -67,7 +67,7 @@ void ConsoleCommand::BreakpointHandler(ScriptFrame& frame, ScriptError *ex, cons
|
|||||||
}
|
}
|
||||||
|
|
||||||
std::cout << "You can inspect expressions (such as variables) by entering them at the prompt.\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";
|
<< "To leave the debugger and continue the program use \"$continue\".\n";
|
||||||
|
|
||||||
#ifdef HAVE_EDITLINE
|
#ifdef HAVE_EDITLINE
|
||||||
rl_completion_entry_function = ConsoleCommand::ConsoleCompleteHelper;
|
rl_completion_entry_function = ConsoleCommand::ConsoleCompleteHelper;
|
||||||
@ -265,7 +265,7 @@ incomplete:
|
|||||||
line = commandOnce;
|
line = commandOnce;
|
||||||
|
|
||||||
if (!line.empty() && line[0] == '$') {
|
if (!line.empty() && line[0] == '$') {
|
||||||
if (line == "$quit")
|
if (line == "$continue")
|
||||||
break;
|
break;
|
||||||
|
|
||||||
std::cout << "Unknown debugger command: " << line << "\n";
|
std::cout << "Unknown debugger command: " << line << "\n";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user