Pavel Labath 33bf08ec36
[lldb-dap] Correctly detect alias commands with arguments in repl (#92137)
ResolveCommand will not succeed for an alias command with arguments, and
the code wasn't providing any. Replace that with explicit query(ies) for
the existence of a command with the given name.
2024-05-17 11:24:20 +02:00

16 lines
278 B
C++

void noop() {}
void fun() {
int user_command = 474747;
int alias_command = 474747;
int alias_command_with_arg = 474747;
int platform = 474747; // built-in command
noop(); // breakpoint 1
}
int main() {
fun();
noop(); // breakpoint 2
return 0;
}