#include <debug_hardwarebreakpoints.h>
WARNING: This functionality must not be used in production code. it's only allowed to use this for debugging purposes and needs to be removed/deactivated before submitting. Windows: Please note that intel cpus support only 4 hardware breakpoints. If you try to set more than 4 breakpoints an error will be returned. A good praxis is to create a Ringbuffer<DebugHardwareBreakPointRef, DebugHardwareBreakPointInterface::MAXHARDWAREBREAKPOINTS> and free the oldest hardware breakpoints before creating new one.
公共成员函数 |
|
MAXON_METHOD Result < void > | RemoveHardwareBreakpoint () |
静态公共成员函数 |
|
static MAXON_METHOD Result < DebugHardwareBreakPointRef > | SetHardwareBreakpoint ( HARDWAREBREAKPOINTTYPE type, HARDWAREBREAKPOINTSIZE size, void *watchAddress) |
静态公共属性 |
|
static const Int | MAXHARDWAREBREAKPOINTS |
私有成员函数 |
|
MAXON_INTERFACE_NONVIRTUAL ( DebugHardwareBreakPointInterface , MAXON_REFERENCE_NORMAL , "net.maxon.interface.debughardwarebreakpoint") |
|
private |
|
static |
Sets a hardware breakpoint for all running threads. When the program hit the watched memory a single_step exception will be fired and the debugger stops at this point where the memory is accessed.
[in] | type | Trigger type of the breakpoint. |
[in] | size | Number of bytes to be watched starting from watchAddress. |
[in] | watchAddress | Start address of the watched memory. |
MAXON_METHOD Result <void> RemoveHardwareBreakpoint | ( | ) |
Removes a hardware breakpoint from all threads.
|