You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i modified the _breakpoints.py class's add( ) to see what was happening
def add(self, address, callback, bp_type=NORMAL, hw_type=EXECUTE):
if bp_type == self.BP_NORMAL:
SetBreakpoint(address)
elif bp_type == self.BP_HARDWARE:
SetHardwareBreakpoint(address, hw_type)
self.__breakpoints[address]['callback'] = callback
self.__breakpoints[address]['type'] = bp_type
print self.__breakpoints[address] #modification to see whether the breakpoint was added at the
specific address
#also i modified the __breakpoint_function
def __breakpoint_function(self, **kwargs):
address = kwargs['addr']
print self.__breakpoints[address] #modification to see whether the breakpoint exits after
if address in self.__breakpoints:
if not (kwargs['enabled'] and kwargs['active']):
return
self.__breakpoints[address]'callback'
#when i run the program below i get the below error
{'callback': <function call_back at 0x056B7E70>, 'type': 1} #results of print from add()
{} #results of print from __breakpoint_function
[PYTHON] Could not use breakpoint function.
Traceback (most recent call last):
File "C:\tools\SNAPSH~1\release\x32\plugins\x64dbgpy\x64dbgpy__breakpoints.py", line 39, in __breakpoint_function
self.__breakpoints[address]'callback'
KeyError: 'callback'
Could You Please tell me why is this happening
The text was updated successfully, but these errors were encountered:
x64dbg/x64dbg#1863 (comment)
Everybody who is still subscribed to this and doesn't know why: change your password. You will not see anything in your audit log, but your credentials were used in a Github API call to subscribe to this repo.
Will unlock this later.
x64dbg
locked as off-topic and limited conversation to collaborators
Feb 19, 2018
#error in while Call_back
i modified the _breakpoints.py class's add( ) to see what was happening
def add(self, address, callback, bp_type=NORMAL, hw_type=EXECUTE):
if bp_type == self.BP_NORMAL:
SetBreakpoint(address)
elif bp_type == self.BP_HARDWARE:
SetHardwareBreakpoint(address, hw_type)
self.__breakpoints[address]['callback'] = callback
self.__breakpoints[address]['type'] = bp_type
print self.__breakpoints[address] #modification to see whether the breakpoint was added at the
specific address
#also i modified the __breakpoint_function
def __breakpoint_function(self, **kwargs):
address = kwargs['addr']
print self.__breakpoints[address] #modification to see whether the breakpoint exits after
if address in self.__breakpoints:
if not (kwargs['enabled'] and kwargs['active']):
return
self.__breakpoints[address]'callback'
#when i run the program below i get the below error
{'callback': <function call_back at 0x056B7E70>, 'type': 1} #results of print from add()
{} #results of print from __breakpoint_function
[PYTHON] Could not use breakpoint function.
Traceback (most recent call last):
File "C:\tools\SNAPSH~1\release\x32\plugins\x64dbgpy\x64dbgpy__breakpoints.py", line 39, in __breakpoint_function
self.__breakpoints[address]'callback'
KeyError: 'callback'
Could You Please tell me why is this happening
The text was updated successfully, but these errors were encountered: