Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Version: Available or changed with runtime version 1.0 until version 4.0 where it was deprecated.
Gets the last error that occurred in the debugger.
Syntax
String := Debugger.GetLastErrorText()
Return Value
String
Type: Text
The text string that was contained in the last error message that was generated by Microsoft Dynamics Business Central. If no error has occurred, then the function returns an empty string.
Related information
Debugger Data Type
Get Started with AL
Developing Extensions