This class creates conditions of a conditional trace.
[Type]
class TraceCondition:
StartAddress = ""
StartData = ""
StartTraceType = TraceType.Execution
EndAddress = ""
EndData = ""
EndTraceType = TraceType.Execution
|
[Variable]
|
|
StartAddress
|
Specify an address starting a trace.
Must be specified.
|
StartData
|
Specify a data condition (number) of an address starting a trace.
This specification is ignored if TraceType.Execution is specified for StartTraceType.
|
StartTraceType
|
Specify the type of timers which start a trace.
The types that can be specified are shown below.
|
|
|
TraceType.Execution
|
Start a trace at execution (default)
|
TraceType.Read
|
Start a trace at data read
|
TraceType.Write
|
Start a trace at data write
|
TraceType.Access
|
Start a trace at data access
|
EndAddress
|
Specify the type of timers which end a trace.
Must be specified.
|
EndData
|
Specify a data condition (number) of an address ending a trace.
This specification is ignored if TraceType.Execution is specified for EndTraceType.
|
EndTraceType
|
Specify the type of timers which end a trace.
The types that can be specified are shown below.
|
|
|
TraceType.Execution
|
Start a trace at execution (default)
|
TraceType.Read
|
Start a trace at data read
|
TraceType.Write
|
Start a trace at data write
|
TraceType.Access
|
Start a trace at data access
|
[Detailed description]
- | "TraceCondition" is in class format, and the condition of a conditional trace is set in the variable.
In order to create a condition of a conditional trace, create an instance, and set conditions for that instance. |
[Example of use]
>>>execute_trace = TraceCondition() ... Create instance
>>>execute_trace.StartAddress = "main"
>>>execute_trace.StartTraceType = TraceType.Execution
>>>execute_trace.EndAddress = "sub"
>>>execute_trace.EndTraceType = TraceType.Execution
>>>debugger.Trace.Set(execute_trace) ... Specify function in which to set the conditional trace in parameter
1
>>>
|