Inherits com::google::security::zynamics::binnavi::APIHelpers::ApiObject< CTraceList >.
List of all members.
Detailed Description
Represents a single debug trace. A debug trace is a list of debug events (generally echo breakpoint hits) which is recorded by the debugger and saved to the database.
Member Function Documentation
void com.google.security.zynamics.binnavi.API.disassembly.Trace.addEvent |
( |
final int |
tid, |
|
|
final Module |
module, |
|
|
final Address |
address, |
|
|
final TraceEventType |
type | |
|
) |
| | |
Adds a regular breakpoint event to the trace.
- Parameters:
-
| tid | The thread ID of the thread that caused the event. |
| module | The module the address belongs to. This argument can be null. |
| address | The address of the event. |
| type | Type of the event. |
void com.google.security.zynamics.binnavi.API.disassembly.Trace.addListener |
( |
final ITraceListener |
listener |
) |
|
Adds an object that is notified about changes in the trace.
- Parameters:
-
| listener | The listener object that is notified about changes in the trace. |
- Exceptions:
-
| IllegalArgumentException | Thrown if the listener argument is null. |
| IllegalStateException | Thrown if the listener object is already listening on the trace. |
String com.google.security.zynamics.binnavi.API.disassembly.Trace.getDescription |
( |
|
) |
|
Returns the description of the trace.
- Returns:
- The description of the trace.
List<TraceEvent> com.google.security.zynamics.binnavi.API.disassembly.Trace.getEvents |
( |
|
) |
|
Returns the debug events that were recorded during the trace.
- Returns:
- A list of trace events.
String com.google.security.zynamics.binnavi.API.disassembly.Trace.getName |
( |
|
) |
|
Returns the name of the trace.
- Returns:
- The name of the trace.
void com.google.security.zynamics.binnavi.API.disassembly.Trace.removeListener |
( |
final ITraceListener |
listener |
) |
|
Removes a listener object from the trace.
- Parameters:
-
| listener | The listener object to remove from the trace. |
- Exceptions:
-
| IllegalArgumentException | Thrown if the listener argument is null. |
| IllegalStateException | Thrown if the listener object was not listening on the trace. |
Saves the trace to the database.
- Exceptions:
-
void com.google.security.zynamics.binnavi.API.disassembly.Trace.setDescription |
( |
final String |
description |
) |
throws CouldntSaveDataException |
Changes the description of the trace.
- Parameters:
-
| description | The new description of the trace. |
- Exceptions:
-
void com.google.security.zynamics.binnavi.API.disassembly.Trace.setName |
( |
final String |
name |
) |
throws CouldntSaveDataException |
Changes the name of the trace.
- Parameters:
-
| name | The new name of the trace. |
- Exceptions:
-
String com.google.security.zynamics.binnavi.API.disassembly.Trace.toString |
( |
|
) |
|
Returns a string representation of the trace.
- Returns:
- A string representation of the trace.