getDebugInfo
Short summary
This method returns a debug info string
:return: debug info string, it contains the caller method name and the class name.
Format is 'ClassName.methodName: Assertion was false'
- Return type:
Tc2_System.T_MaxString
Parameters
| Name | Type | Comment | Kind |
|---|---|---|---|
| caller | Tc2_System.T_MaxString | name of the caller method | input |
Code
Declaration
METHOD PROTECTED getDebugInfo :Tc2_System.T_MaxString
VAR_INPUT
(* name of the caller method *)
caller :Tc2_System.T_MaxString;
END_VAR
Implementation
getDebugInfo := Tc2_Standard.CONCAT(
THIS^.className,
Tc2_Standard.CONCAT(
'.',
Tc2_Standard.CONCAT(
caller,
': Assertion was false'
)
)
);