The list of breakpoints
(self)
| 1189 | |
| 1190 | @property |
| 1191 | def breakpoints(self) -> List[DebugBreakpoint]: |
| 1192 | """ |
| 1193 | The list of breakpoints |
| 1194 | """ |
| 1195 | count = ctypes.c_ulonglong() |
| 1196 | breakpoints = dbgcore.BNDebuggerGetBreakpoints(self.handle, count) |
| 1197 | result = [] |
| 1198 | for i in range(0, count.value): |
| 1199 | bp = DebugBreakpoint(breakpoints[i].module, breakpoints[i].offset, breakpoints[i].address, breakpoints[i].enabled) |
| 1200 | result.append(bp) |
| 1201 | |
| 1202 | dbgcore.BNDebuggerFreeBreakpoints(breakpoints, count.value) |
| 1203 | return result |
| 1204 | |
| 1205 | def delete_breakpoint(self, address): |
| 1206 | """ |
nothing calls this directly
no test coverage detected