DebugFail Method (String) |
An error message, with a stack trace, is displayed on the FlexPendant.
The error message, with a stack trace, is also sent out on the network. The
error message can be displayed in the controller console by enabling the functionality
on the controller. Use fpcmd_enable_console_output to enable FlexPendant logging.
Namespace:
ABB.Robotics.Diagnostics
Assembly:
ABB.Robotics (in ABB.Robotics.dll) Version: 6.5.129.0
Syntaxpublic static void Fail(
string message
)
Parameters
- message
- Type: SystemString
A message to write.
ExamplesThis example displays and logs an error message.
Debug.Fail(string.Format("Operation not allowed in current state: {0}", myobj.State.ToString()));
See Also