debugger.Option.AccessDuringExecution

debugger.Option.AccessStopExecution

debugger.Option.AfterTraceMemoryFull

debugger.Option.Coverage

debugger.Option.MainClockFrequency

debugger.Option.OpenBreak

debugger.Option.ReuseCoverageData

debugger.Option.Timer

debugger.Option.Trace

debugger.Option.TracePriority

debugger.Option.TraceTarget

debugger.Option.UseTraceData


This property sets or refers to the options of the debug tool.

[Specification format]

debugger.Option.AccessDuringExecution = accessDuringExecution
debugger.Option.AccessStopExecution = afterTrace
debugger.Option.AfterTraceMemoryFull = accessStopExecution
debugger.Option.Coverage = coverage
debugger.Option.MainClockFrequency = mainClockFrequency
debugger.Option.OpenBreak = openBreak
debugger.Option.ReuseCoverageData = reuseCoverageData
debugger.Option.Timer = timer
debugger.Option.Trace = trace
debugger.Option.TracePriority = tracePriority
debugger.Option.TraceTarget = traceTarget
debugger.Option.UseTraceData = useTraceDataType

[Setting(s)]

Setting

Description

accessDuringExecution

Set whether to allow access to memory during execution. [RH850][E1/E20/Full-spec emulator]

True: Allow access to memory during execution.

False: Do not allow access to memory during execution.

afterTrace

Set the operation to be taken after using up trace memory.

The values that can be specified are shown below.

Value

Description

AfterTraceMemoryFull.NoneStop

Overwrite trace memory and continue execution.

AfterTraceMemoryFull.StopTrace

Stop tracing.

AfterTraceMemoryFull.Stop

Stop execution (stop the program).

accessStopExecution

Set whether to instantaneously stop execution and make an access.

True: Stop execution for a moment and make an access.

False: Stop execution for a moment but do not make an access.

coverage

Set whether to use the coverage function. [IECUBE][IECUBE2][Simulator]

True: Use the coverage function.

False: Do not use the coverage function.

mainClockFrequency

Set the main clock frequency (numerical value) in units of kHz. [Except RX simulator]

openBreak

Set whether to use the open break function.

True: Use the open break function.

False: Do not use the open break function.

reuseCoverageData

Set whether to reuse the coverage result.

True: Reuse the coverage result.

False: Do not reuse the coverage result.

timer

Set whether to use the timer function.

True: Use the timer function.

False: Do not use the timer function.

trace

Set whether to use the trace function. [IECUBE][IECUBE2][Simulator]

True: Use the trace function.

False: Do not use the trace function.

tracePriority

Set whether the acquisition of all data or real-time operation should have priority in the acquisition of trace data. [RH850][E1/E20/Full-spec emulator]

The values that can be specified are shown below.

Value

Description

TracePriority.SpeedPriority

Real-time operation is given priority in tracing.

TracePriority.DataPriority

The CPU pipeline is temporarily stopped so that no trace data is lost.

traceTarget

Set the target of tracing. [RH850]

The values that can be specified are shown below.

Value

Description

TraceTarget.DebugOnly

Trace data will only be acquired on the CPU core being debugged.

TraceTarget.AllCore

Trace data will be acquired on all CPU cores.

useTraceDataType

Set which function to use the trace data in. [IECUBE [V850]][IECUBE2]

The functions that can be specified are shown below.

Type

Description

UseTraceDataType.RRM

RRM function

UseTraceDataType.Trace

Trace function

UseTraceDataType.Coverage

Coverage function

[Reference]

Set value

Caution

If a PM+ workspace is converted to a CS+ project, then there will be no debugging tool in the main project. For this reason, "None" will be returned if the main project is the active project.

[Detailed description]

-

This property sets or refers to the options of the debug tool.

[Example of use]

>>>print debugger.Option.AccessDuringExecution
True
>>>debugger.Option.AccessDuringExecution = False
>>>print debugger.Option.AccessDuringExecution
False
>>>

 

>>>print debugger.Option.MainClockFrequency
10000
>>>debugger.Option.MainClockFrequency = 12000
>>>print debugger.Option.MainClockFrequency
12000
>>>

 

>>>print debugger.Option.TracePriority
SpeedPriority
>>>debugger.Option.TracePriority = TracePriority.DataPriority
>>>print debugger.Option.TracePriority
DataPriority
>>>

 

>>>print debugger.Option.TraceTarget
AllCore
>>>debugger.Option.TraceTarget = TraceTarget.DebugOnly
>>>print debugger.Option.TraceTarget
DebugOnly
>>>

 

>>>print debugger.Option.UseTraceData
Trace
>>>debugger.Option.UseTraceData = UseTraceDataType.Coverage
>>>print debugger.Option.Coverage
False
>>>debugger.Option.Coverage = True
>>>print debugger.Option.Coverage
True
>>>