debugger.DebugTool.Change


This function changes the debug tool.

[Specification format]

debugger.DebugTool.Change(debugTool)

[Argument(s)]

Argument

Description

debugTool

Specify the debug tool to change.

The debug tools that can be specified are shown below.

Type

Description

DebugTool.Simulator

Simulator

DebugTool.Minicube

MINICUBE

DebugTool.Minicube2

MINICUBE2 (Serial connect)

DebugTool.Minicube2Jtag

MINICUBE2 (JTAG connect)

DebugTool.Iecube

IECUBE

DebugTool.Iecube2

IECUBE2

DebugTool.E1Jtag

E1 (JTAG connect)

DebugTool.E1Serial

E1 (Serial connect)

DebugTool.E1Lpd

E1 (LPD connect)

DebugTool.E2

E2 emulator (abbreviated name: E2)

DebugTool.E2Lite

E2 emulator Lite (abbreviated name: E2 Lite)

DebugTool.E20Jtag

E20 (JTAG connect)

DebugTool.E20Serial

E20 (Serial connect)

DebugTool.E20Lpd

E20 (LPD connect)

[Return value]

If the debug tool was changed successfully: True

If there was an error when changing the debug tool: False

[Detailed description]

-

This function changes the debug tool to the one specified by DebugTool.
However, the debug tool that can be changed differs depending on the using device. Select [Debug Tool] on the project tree and select [Using Debug Tool] on the context menu. And then confirm the debug tool that can be changed.

Caution

It is possible to specify non-selectable emulators. Only specify emulators that can be selected in CS+' s debugging tool.

[Example of use]

>>>debugger.DebugTool.Change(DebugTool.Simulator)
True
>>>