GETTRACECFG

  

DEVELOPER

 

 

Purpose

 

This dynamic tracing method retrieves the values from the pro4v8.ini or previously set by the SetTraceCfg() method in the current session. The following are the valid values for the argument:

  • TR_PATH

  • TR_MAX_FILE_SIZE

  • TR_MAX_FILES_PER_VM

Object Type

Session

Syntax

Variable = SESSION.GetTracecfg("TR_PATH")

Elements

Variable is a string variable  

Remarks

 

Example

Session.GetTraceCfg("TR_PATH") - Returns the tracing path set for the current session as string

Session.GetTraceCfg("TR_MAX_FILE_SIZE") - Returns the maximum trace file size set for current session as string

Session.GetTraceCfg("TR_MAX_FILES_PER_VM") - Returns the maximum number of tracing files allowed per session as a number
 

Comment on this topic

Topic ID: 510174