This function sets a conditional timer.
[Specification format]
debugger.Timer.Set(TimerCondition)
|
[Argument(s)]
|
|
TimerCondition
|
Specify a condition of a conditional timer.
See the TimerCondition class for creating a conditional timer.
|
[Return value]
Set timer event number (numerical value)
[Detailed description]
- | This function sets a conditional timer according to the contents specified with TimerCondition. |
- | The specified conditional timer is registered with the following name.
number is a four-digit decimal. |
[Example of use]
>>>tc = TimerCondition()
>>>tc.StartAddress = "main"
>>>tc.EndAddress = "chData"
>>>tc.EndData = 0x20
>>>tc.EndTimerType = TimerType.Write
>>>ts_number = debugger.Timer.Set(tc)
1
>>>print ts_number
1
|