SoftwareTraceInfo


This class holds software trace information (return value of the debugger.SoftwareTrace.Get function). [RH850]

[Type]

class SoftwareTraceInfo:
        FrameNumber = None
        Timestamp = None
        DataType = None
        ProgramCounter = None
        RegisterID = None
        RegisterData = None
        Data = None
        Category = None
        RealData = None
        ProcessorElement = None

[Variable]

Variable

Description

FrameNumber

This holds the frame number.

Timestamp

This holds the timestamp.

When the microcontroller is multi-core, there is the following difference between emulators and a simulator.

[E1/E20/Full-spec emulator]

The differential time from the time of the previous data that has the same PE number is held.

[Simulator]

The accumulated time or differential time is held depending on the setting of debugger.XTrace.Addup.

When the differential time is held, it is the difference from the time of the previous data regardless the PE number.

DataType

This holds the type of data.

Type

Description

SoftwareTraceDataType.DBCP

Check point

SoftwareTraceDataType.DBTAG

Tag

SoftwareTraceDataType.DBPUSH

Push

SoftwareTraceDataType.Lost

Lost data

ProgramCounter

This holds the program counter.

RegisterID

This holds the register ID. (DBPUSH)

RegisterData

This holds the register data. (DBPUSH)

Category

This holds the category. (DBTAG)

Data

This holds the data. (DBTAG)

RealData

This holds the composite data of category and data. (DBTAG)

ProcessorElement

When the microcontroller is multi-core, this holds the PE number.

[Detailed description]

-

SoftwareTraceInfo is a class, and it is passed as the return value when the debugger.SoftwareTrace.Get function is executed.