@@ -111,7 +111,7 @@ class IOHandlerLuaInterpreter : public IOHandlerDelegate,
111
111
io_handler.GetUserData ());
112
112
for (BreakpointOptions &bp_options : *bp_options_vec) {
113
113
Status error = m_script_interpreter.SetBreakpointCommandCallback (
114
- bp_options, data.c_str ());
114
+ bp_options, data.c_str (), /* is_callback= */ false );
115
115
if (error.Fail ())
116
116
*io_handler.GetErrorStreamFileSP () << error.AsCString () << ' \n ' ;
117
117
}
@@ -121,7 +121,8 @@ class IOHandlerLuaInterpreter : public IOHandlerDelegate,
121
121
auto *wp_options =
122
122
static_cast <WatchpointOptions *>(io_handler.GetUserData ());
123
123
m_script_interpreter.SetWatchpointCommandCallback (wp_options,
124
- data.c_str ());
124
+ data.c_str (),
125
+ /* is_callback=*/ false );
125
126
io_handler.SetIsDone (true );
126
127
} break ;
127
128
case eIOHandlerNone:
@@ -348,7 +349,8 @@ Status ScriptInterpreterLua::SetBreakpointCommandCallbackFunction(
348
349
}
349
350
350
351
Status ScriptInterpreterLua::SetBreakpointCommandCallback (
351
- BreakpointOptions &bp_options, const char *command_body_text) {
352
+ BreakpointOptions &bp_options, const char *command_body_text,
353
+ bool is_callback) {
352
354
return RegisterBreakpointCallback (bp_options, command_body_text, {});
353
355
}
354
356
@@ -368,7 +370,8 @@ Status ScriptInterpreterLua::RegisterBreakpointCallback(
368
370
}
369
371
370
372
void ScriptInterpreterLua::SetWatchpointCommandCallback (
371
- WatchpointOptions *wp_options, const char *command_body_text) {
373
+ WatchpointOptions *wp_options, const char *command_body_text,
374
+ bool is_callback) {
372
375
RegisterWatchpointCallback (wp_options, command_body_text, {});
373
376
}
374
377
0 commit comments