debugger.XRunBreak.Set


This function configures XRunBreak information. [V850 Simulator][RH850 Simulator]

[Specification format]

debugger.XRunBreak.Set(time, timeType = TimeType.Ms, periodic = False)

[Argument(s)]

Argument

Description

time

Specify the break time.

timeType

Specify the break time unit.

The units that can be specified are shown below.

Type

Description

TimeType.Min

Minute unit

TimeType.S

Second unit

TimeType.Ms

Millisecond unit (default)

TimeType.Us

Microsecond unit

TimeType.Ns

Nanosecond unit

periodic

Specify whether to call the callback every time the specified time elapses.

True: Call at every specified time interval.

False: Call one time only (default).

[Return value]

If XRunBreak information was configured successfully: True

If there was an error when configuring XRunBreak information: False

[Detailed description]

-

This function configures XRunBreak information.

-

The XRunBreak calling interval depends on the simulator.

-

Register the Python function that is processed after the specified time passes. See “Hook“ for detail.

Caution

If you use the following operations while program is running after the XRunBreak information is set, please use these operations after program is stopped.
- Resets the CPU
- Resets the CPU and then executes the program from the reset address
- Set/Remove Breakpoints


[Example of use]

>>>debugger.XRunBreak.Refer()
None
>>>debugger.XRunBreak.Set(1, TimeType.S, True)
True
>>>debugger.XRunBreak.Refer()
1Second Periodic