XRunBreakInfo


This class holds XRunBreak information (return value of the debugger.XRunBreak.Refer and debugger.Interrupt.ReferTimer functions).

[Type]

class XRunBreakInfo:
        Value = 0
        TimeType = Timetype.Min
        IsPeriodic = True

[Variable]

Variable

Description

Value

This holds the event interval value.

TimeType

This holds the unit of the interval value.

Type

Description

TimeType.Min

Minute unit

TimeType.S

Second unit

TimeType.Ms

Millisecond unit

TimeType.Us

Microsecond unit

TimeType.Ns

Nanosecond unit

IsPeriodic

This holds whether the callback is used periodically.

[Detailed description]

-

XRunBreakInfo is a class, and it is passed as the return value when the debugger.XRunBreak.Refer or debugger.Interrupt.ReferTimer function is executed.

[Example of use]

>>>debugger.XRunBreak.Set(10, TimeType.S, True)
>>>info = debugger.XRunBreak.Refer()
10Second Periodic
>>>print info.Value
10
>>>print info.TimeType
S
>>>print info.IsPeriodic
True
>>>