A single debug trace.
More...
Inherits 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
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 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 BinNavi.API.disassembly.Trace.getDescription |
( |
|
) |
|
Returns the description of the trace.
- Returns:
- The description of the trace.
| List<TraceEvent> BinNavi.API.disassembly.Trace.getEvents |
( |
|
) |
|
Returns the debug events that were recorded during the trace.
- Returns:
- A list of trace events.
| String BinNavi.API.disassembly.Trace.getName |
( |
|
) |
|
Returns the name of the trace.
- Returns:
- The name of the trace.
| void 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:
-
Changes the description of the trace.
- Parameters:
-
| description | The new description of the trace. |
- Exceptions:
-
Changes the name of the trace.
- Parameters:
-
| name | The new name of the trace. |
- Exceptions:
-
| String BinNavi.API.disassembly.Trace.toString |
( |
|
) |
|
Returns a string representation of the trace.
- Returns:
- A string representation of the trace.