Difference between revisions of "Lua:debug setBreakpoint"

From Cheat Engine
Jump to navigation Jump to search
m (Created page with 'By employing this analysis, you can just as easily gain knowledge on what types of [http://www.loyalpest.com/Bed-Bug-Control/bed-bug-control.html Exterminator Richmond Va Bed Bug…')
 
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
By employing this analysis, you can just as easily gain knowledge on what types of [http://www.loyalpest.com/Bed-Bug-Control/bed-bug-control.html Exterminator Richmond Va Bed Bugs] companies are currently operational within your specific part of the globe and the cost that they require.
+
[[Category:Lua]]
 +
<onlyinclude>
 +
[[debug_setBreakpoint]](address[, size, trigger[, method]][, function])
 +
 
 +
Add a breakpoint at an address. Optional parameters are size, trigger, method, and function. Meaningful forms:
 +
 
 +
debug_setBreakpoint(address)
 +
debug_setBreakpoint(address, function)
 +
debug_setBreakpoint(address, size, trigger)
 +
debug_setBreakpoint(address, size, trigger, function)
 +
debug_setBreakpoint(address, size, trigger, method)
 +
debug_setBreakpoint(address, size, trigger, method, function)
 +
 
 +
* size: integer. Number of bytes to break for counting from the address. Ignored if trigger is "execute" (the default).
 +
* trigger: enum (integer). Type of access to break on. Default: bptExecute. Valid types are:[[https://github.com/cheat-engine/cheat-engine/blob/master/Cheat%20Engine/debuggertypedefinitions.pas#L37 debuggertypedefinitions.pas]]
 +
** bptExecute: break when the instruction pointer EIP is in the area
 +
** bptAccess: break when memory in the area is accessed
 +
** bptWrite: break when memory in the area is written to
 +
* method: enum (integer). How to implement the breakpoint. Default: Pascal variable preferedBreakpointMethod, set by ???. Valid methods are:[[https://github.com/cheat-engine/cheat-engine/blob/master/Cheat%20Engine/debuggertypedefinitions.pas#L30 debuggertypedefinitions.pas]]
 +
** bpmInt3: Interrupt? (Software breakpoint?)
 +
** bpmDebugRegister: ?? (Hardware breakpoint?)
 +
** bpmException: Exception?
 +
* function: function or string. A function or the name of a function to call when the breakpoint triggers.
 +
</onlyinclude>
 +
 
 +
 
 +
{{LuaSeeAlso}}

Latest revision as of 00:17, 25 January 2018


debug_setBreakpoint(address[, size, trigger[, method]][, function])

Add a breakpoint at an address. Optional parameters are size, trigger, method, and function. Meaningful forms:

debug_setBreakpoint(address)
debug_setBreakpoint(address, function)
debug_setBreakpoint(address, size, trigger)
debug_setBreakpoint(address, size, trigger, function)
debug_setBreakpoint(address, size, trigger, method)
debug_setBreakpoint(address, size, trigger, method, function)
  • size: integer. Number of bytes to break for counting from the address. Ignored if trigger is "execute" (the default).
  • trigger: enum (integer). Type of access to break on. Default: bptExecute. Valid types are:[debuggertypedefinitions.pas]
    • bptExecute: break when the instruction pointer EIP is in the area
    • bptAccess: break when memory in the area is accessed
    • bptWrite: break when memory in the area is written to
  • method: enum (integer). How to implement the breakpoint. Default: Pascal variable preferedBreakpointMethod, set by ???. Valid methods are:[debuggertypedefinitions.pas]
    • bpmInt3: Interrupt? (Software breakpoint?)
    • bpmDebugRegister: ?? (Hardware breakpoint?)
    • bpmException: Exception?
  • function: function or string. A function or the name of a function to call when the breakpoint triggers.


See also[edit]