debug_setBreakpoint with custom named function
Posted: Fri Apr 17, 2020 3:47 pm
I know you can do breakpoints with lua like this:
but then i have to do and this only works with 1 active script. I know there is a way to do functions with custom names but i forgot how to do it. Also for some reason this doesnt work:
Code: Select all
debug_setBreakpoint(0x1412463C3)
Code: Select all
function debugger_onBreakpoint()
Code: Select all
debug_setBreakpoint(0x1412463C3, 1, bptExecute, function()
print(RSI)
if (RBX ~= 0) then
return 1
end
print(RSI)
debug_continueFromBreakpoint(co_run)
return 0
end)