DebuggerEventData is the collection of all possible data associated with the debugger events * ``target_stopped_data``: the data associated with a TargetStoppedEvent * ``error_data``: the data associated with an ErrorEvent * ``absolute_address``: an integer address, which is used w
| 405 | |
| 406 | |
| 407 | class DebuggerEventData: |
| 408 | """ |
| 409 | DebuggerEventData is the collection of all possible data associated with the debugger events |
| 410 | |
| 411 | * ``target_stopped_data``: the data associated with a TargetStoppedEvent |
| 412 | * ``error_data``: the data associated with an ErrorEvent |
| 413 | * ``absolute_address``: an integer address, which is used when an absolute breakpoint is added/removed |
| 414 | * ``relative_address``: a ModuleNameAndOffset, which is used when a relative breakpoint is added/removed |
| 415 | * ``exit_data``: the data associated with a TargetExitedEvent |
| 416 | * ``message_data``: message data, used by both StdOutMessageEvent and BackendMessageEvent |
| 417 | |
| 418 | """ |
| 419 | def __init__(self, target_stopped_data: TargetStoppedEventData, |
| 420 | error_data: ErrorEventData, |
| 421 | absolute_address: int, |
| 422 | relative_address: ModuleNameAndOffset, |
| 423 | exit_data: TargetExitedEventData, |
| 424 | message_data: StdOutMessageEventData): |
| 425 | self.target_stopped_data = target_stopped_data |
| 426 | self.error_data = error_data |
| 427 | self.absolute_address = absolute_address |
| 428 | self.relative_address = relative_address |
| 429 | self.exit_data = exit_data |
| 430 | self.message_data = message_data |
| 431 | |
| 432 | |
| 433 | class DebuggerEvent: |