gmscTraceLogClass
- Mark Juras
Owned by Mark Juras
The TraceLog Service Class
The service class TraceLog logs tracing messages intended to aid in the analysis and debugging of the translations produced by the tool. Its methods are controlled via various Select debugging flags.Column | Description of content |
subRoot | The root offset of the subprogram containing the code upon which the change is based |
symRoot | The root offset of the component that is being changed |
lineno | The approxinent line number of the source statement upon which the change is based |
value | The new value being set |
file | The root offset of the source file containg the code upon which the change is based |
change | A code indicating the context in which the change was made |
The method TraceLog_LitmusTest
Prototypevoid TraceLog_LitmusTest(int subRoot,int iCall)
Parameter | Description |
subRoot | specifies the root offset of the component whose code is currently being analysed. |
iCall | specifies a unique call number that can be used to identify the precise call to this method that is logging the message. |
The method TraceLog_GetObjectType
Prototypeint TraceLog_GetObjectType(int iCall,int root)
Parameter | Description |
iCall | specifies a unique call number that can be used to identify the precise call to this method that is logging the message. The last used value of iCall was 982. |
root | specifies the root offset of the component whose object type is wanted. |
The method returns the storage object type of the component if its root offset is well-formed else it returns zero.
The method TraceLog_TraceCall
Prototypevoid TraceLog_TraceCall(int iCall,int subCall,int* Parents,char* statement)
Parameter | Description |
iCall | specifies a unique call number that can be used to identify the precise call to this method that is logging the message. |
subCall | specifies a support value associated with the call to facilitate debugging. |
Parents | contains the number and root offsets of the components in whose scope the call occurs. |
statement | contains the actual statement that is causing the call. |
The method TraceLog_SetTracing
Prototypevoid TraceLog_SetTracing(int on)
Parameter | Description of value |
on | specifies whether the flag should be on or off. A value of zero turns it off; else it is turned on. |
Table of Contents