Everything

debugger.Trace.Set


This function sets a conditional trace.

[Specification format]

debugger.Trace.Set(TraceCondition)

[Argument(s)]

Argument

Description

TraceCondition

Specify a condition of a conditional trace.

See the TraceCondition class for creating a conditional trace.

[Return value]

Set trace event number (numerical value)

[Detailed description]

-

This function sets a conditional trace according to the contents specified with TraceCondition.

-

The specified conditional trace is registered with the following name.

Trace

[Example of use]

>>>tc = TraceCondition()
>>>tc.StartAddress = "main"
>>>tc.EndAddress = "chData"
>>>tc.EndData = 0x20
>>>tc.EndTraceType = TraceType.Write
>>>ts_number = debugger.Trace.Set(tc)
1
>>>print ts_number
1