Everything

debugger.XTrace.Dump


This function dumps the trace data. [IECUBE][IECUBE2][Simulator]

[Specification format]

debugger.XTrace.Dump(frameCount, fileName = "", append = False)

[Argument(s)]

Argument

Description

frameCount

Specify the number of dumps.

fileName

Specify the name of the file to dump to (default: not specified).

append

Specify whether to append trace data to the file.

True: Append trace data to the file.

False: Do not append trace data to the file (default).

[Return value]

List of trace information (see the TraceInfo property for detail)

[Detailed description]

-

This function dumps trace data for the number of frames specified by frameCount.

-

If fileName is specified, then the trace data is written to the file.

-

If append is set to "True", then the trace data is appended to the file.

[Example of use]

>>>debugger.XTrace.Dump(3)
    1851  00h00min00s003ms696μs000ns  0x000003be  cmp r11, r14
    1852  00h00min00s003ms700μs000ns  0x000003c0  blt _func_static3+0x2c
    1853  00h00min00s003ms702μs000ns  0x000003c2  jarl _errfunc, lp
>>>debugger.XTrace.Dump(10, "C:/test/TestTrace.txt")
>>>