mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-02 06:28:20 +03:00
fix breakpoint callback registration
This commit is contained in:
@@ -97,10 +97,9 @@ def execute_command(command_interpreter, command):
|
||||
print_debug(
|
||||
"registering breakpoint callback, id = " + str(breakpoint_id)
|
||||
)
|
||||
callback_command = (
|
||||
"breakpoint command add -F breakpoint_callback "
|
||||
+ str(breakpoint_id)
|
||||
)
|
||||
callback_command = f"breakpoint command add -s python {str(breakpoint_id)} -o \
|
||||
'import lldb_batchmode; lldb_batchmode.breakpoint_callback'"
|
||||
|
||||
command_interpreter.HandleCommand(callback_command, res)
|
||||
if res.Succeeded():
|
||||
print_debug(
|
||||
|
||||
Reference in New Issue
Block a user