I've written a python script that I am attaching to a watchpoint in LLDB, such as:
def wpCallback(frame, wp, internal_dict):
...
and I am attaching the callback with:
watchpoint command add -F commands.wpCallback watchpointID
I would like execution of the program to immediately resume after wpCallback
is finished. Currently, execution halts as the watchpoint normally would. Is it possible to silently continue after the function is done? Based on this answer it seems like you can do something like this in GDB:
break foo if x>0
commands
silent
do something...
cont
end