Syntax 8: For opening trace files – PB Docs 2017

Syntax 8: For opening trace files

Description

Opens the specified trace file for reading.

Applies to

TraceFile object

Syntax

Argument

Description

instancename

Instancename of the TraceFile object

filename

A string identifying the name of the trace file you
want to read

Return value

ErrorReturn. Returns one of the following values:

  • Success! — The function succeeded

  • FileAlreadyOpenError! — The specified trace file has already
    been opened

  • FileOpenError! — The trace file can not be opened for
    reading

  • FileInvalidFormatError! — The file does not have the correct
    format

  • EnterpriseOnlyFeature! — (Obsolete) This function is
    supported only in the Enterprise edition of PowerBuilder 12.6 and
    earlier versions.

  • SourcePBLError! — The source libraries cannot be found

Usage

You use this syntax to access the contents of a specified trace
file created from a running PowerBuilder application. You can then use
the properties and functions provided by the TraceFile object to perform
your own analysis of tracing data instead of using the available
modeling objects.

Examples

This example opens a trace file:

See also

Close

Reset

NextActivity


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x