debugger.GetBreakStatus


This function displays a break condition.

[Specification format]

debugger.GetBreakStatus()

[Argument(s)]

None

[Return value]

Break-trigger string (See [Detailed description])

Remark 1.

Returns the string portion of the "BreakStatus" enum.

Remark 2.

Determine conditions by writing in the format "BreakStatus.string".

[Detailed description]

-

This function displays break-trigger.
During execution, this will be "None".

Break-trigger String

Description

78K0

RL78,78K0R

V850

Iecube

Minicube2Note 1

Simulator

Iecube

Minicube2Note 1

Simulator

Iecube

MinicubeNote 2

Minicube2Note 1

Simulator

None

No break

o

o

-

o

o

-

o

o

o

-

Manual

Forced break

o

o

o

o

o

o

o

o

o

o

Event

Break due to event

o

o

o

o

o

o

o

o

o

o

Software

Software break

o

o

-

o

o

-

o

o

o

-

TraceFull

Break due to trace full

o

-

o

o

-

o

o

-

-

o

TraceDelay

Break due to trace delay

o

-

-

o

-

-

-

-

-

-

NonMap

Access to non-mapped area

o

-

o

o

-

o

o

-

-

o

WriteProtect

Write to write-protected area

o

-

o

o

-

o

o

-

-

o

ReadProtect

Read from read-protected area

o

-

-

-

-

-

-

-

-

-

SfrIllegal

Illegal SFR access

o

-

-

-

-

-

-

-

-

-

SfrReadProtect

Read from non-readable SFR

o

-

-

o

-

-

-

-

-

-

SfrWriteProtect

Write to non-writable SFR

o

-

-

o

-

-

-

-

-

-

IorIllegal

Illegal access to peripheral I/O register (with address)

-

-

-

-

-

-

o

-

-

-

StackOverflow

Break due to stack overflow

o

-

-

o

-

-

-

-

-

-

StackUnderflow

Break due to stack underflow

o

-

-

o

-

-

-

-

-

-

UninitializeStackPointer

Break due to uninitialized stack pointer

o

-

-

o

-

-

-

-

-

-

UninitializeMemoryRead

Read uninitialized memory

o

-

-

o

-

-

-

-

-

-

TimerOver

Execution timeout detected

o

-

-

o

-

-

o

-

-

-

UnspecifiedIllegal

Illegal operation in user program relating to peripheral chip features

o

-

-

o

-

-

-

-

-

-

ImsIxsIllegal

Break due to illegal write to IMS/IXS register

o

-

-

-

-

-

-

-

-

-

BeforeExecution

Pre-execution break

o

-

-

o

-

-

-

-

-

-

SecurityProtect

Accessed security-protected region

-

-

-

-

-

-

-

-

-

-

FlashMacroService

Flash macro service active

-

-

-

-

-

-

-

o

o

-

RetryOver

Number of retries exceeded limit

o

-

-

-

-

-

-

-

-

-

FlashIllegal

Illegal Flash break

o

-

-

o

-

-

-

-

-

-

Peripheral

Break from peripheral

o

-

-

o

-

-

-

-

-

-

WordMissAlignAccess

Word access to odd address

-

-

-

o

-

o

-

-

-

-

Temporary

Temporary break

o

o

o

o

o

o

o

o

o

o

Escape

Escape break

-

-

-

-

-

-

o

o

o

-

Fetch

Fetched from guard area or area where fetches are prohibited

o

-

-

o

-

-

-

-

-

-

IRamWriteProtect

Wrote to IRAM guard area (with address)Note 3

-

-

-

-

-

-

o

-

-

-

IllegalOpcodeTrap

Break due to illegal instruction exception

-

-

-

-

-

-

o

Δ

Note 6

-

-

Step

Step execution breakNote 4

o

o

o

o

o

o

-

-

-

o

FetchGuard

Fetch guard breakNote 4

o

-

-

o

-

-

-

-

-

-

TraceStop

Trace stopNote 4

o

-

-

o

-

-

-

-

-

-

ExecutionFails

Execution failedNote 5

o

o

-

o

o

-

o

o

o

-

Note 1.

Applies to all of the following: MINICUBE2, E1Serial, and E20Serial.

Note 2.

Applies to all of the following: MINICUBE, E1Jtag, E20Jtag, and MINICUBE2Jtag.

Note 3.

Performed a verification check on the IRAM guard area during break, and the value was overwritten (if this affects multiple addresses, only the first address is shown).

Note 4.

This is only a break cause during trace.

Note 5.

This is only a break cause during a break.

Note 6.

Not displayed with V850-MINICUBE on V850E/ME2, etc. (same core) when a post-execution event is used.

 

Break-trigger String

Description

RX

V850E2

RH850

E1Jtag, E1Serial

E20Jtag, E20Serial

Simulator

Iecube2

MinicubeNote 2

Minicube2Note 1

Simulator

Full-spec emulator

E1 / E20

SIM

None

No break

o

-

o

o

o

-

-

-

-

Manual

Forced break

o

o

o

o

o

o

o

o

o

Event

Break due to event

o

o

o

o

o

o

o

o

o

Software

Software break

o

-

o

o

o

-

o

o

-

TraceFull

Break due to trace full

o

o

o

-

-

o

o

o

o

NonMap

Access to non-mapped area

-

-

-

-

-

o

-

-

o

WriteProtect

Write to write-protected area

-

-

-

-

-

o

-

-

o

TimerOver

Execution timeout detected

-

-

o

o

-

-

-

-

-

FlashMacroService

Flash macro service active

-

-

o

o

o

-

-

-

-

Temporary

Temporary break

o

o

o

o

o

o

o

o

o

IllegalOpcodeTrap

Break due to illegal instruction exception

-

-

o

o

-

-

-

-

-

Step

Step execution breakNote 3

o

-

-

-

-

o

o

o

o

ExecutionFails

Execution failedNote 4

o

-

o

o

o

-

-

-

-

WaitInstruction

Break caused by executing WAIT instruction

-

o

-

-

-

-

-

-

-

UndefinedInstructionException

Break caused by undefined instruction exception

-

o

-

-

-

-

-

-

-

PrivilegeInstructionException

Break caused by privileged instruction exception

-

o

-

-

-

-

-

-

-

AccessException

Break caused by access exception

-

o

-

-

-

-

-

-

-

FloatingPointException

Break caused by floating point exception

-

o

-

-

-

-

-

-

-

InterruptException

Break caused by interrupt

-

o

-

-

-

-

-

-

-

IntInstructionException

Break caused by INT instruction exception

-

o

-

-

-

-

-

-

-

BrkInstructionException

Break caused by BRK instruction exception

-

o

-

-

-

-

-

-

-

IOFunctionSimulationBreak

Break caused by peripheral function simulation

-

o

-

-

-

-

-

-

-

IllegalMemoryAccessBreak

Break caused by illegal memory access

-

o

-

-

-

-

-

-

-

StreamIoError

Break caused by stream I/O error

-

o

-

-

-

-

-

-

-

CoverageMemoryAllocationFailure

Failed to allocate coverage memory

-

o

-

-

-

-

-

-

-

TraceMemoryAllocationFailure

Failed to allocate trace memory

-

o

-

-

-

-

-

-

-

StepCountOver

Step count over

-

-

-

-

-

-

o

o

o

DebuggingInformationAcquisitionFailure

Failed to acquire debugging information

-

-

-

-

-

-

o

o

o

Note 1.

Applies to all of the following: MINICUBE2, E1Serial, and E20Serial.

Note 2.

Applies to all of the following: MINICUBE, E1Jtag, E20Jtag, and MINICUBE2Jtag.

Note 3.

This is only a break cause during trace.

Note 4.

This is only a break cause during a break.

[Example of use]

>>>debugger.GetBreakStatus()
Temporary
>>>a = debugger.GetBreakStatus()
Temporary
>>>print a
Temporary
>>>if (debugger.GetBreakStatus() == BreakStatus.Temporary):
... print "Temporary break"
...
Temporary
Temporary break
>>>