Editar

Compartilhar via


Debugger.GetLastErrorText() Method

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.

Debugger Data Type
Get Started with AL
Developing Extensions