Reference manual

Diagnostics page

This page is hosted by the Workspace window.

If Prism for AL encounters issues while loading a workspace or building a code graph, this is indicated by an error icon in the Workspace window. Click the error icon to view detailed diagnostics information.

The screen dump below is from a workspace constructed to have at least one error per error type.

Prism for AL diagnostics
Diagnostics
# Name Description
1 Error indicator This page link is displayed when Prism for AL has encountered issues related to workspace loading or while building the code graph.
2 Overview Error count per error type and special messages.
3 Modules Click this tab to view module resolution errors.
4 Compilation units Click this tab to see compilation unit errors, typically parse errors.
5 Code graph errors Click this tab to view code graph errors.

The detail tabs work in pretty much the same way, so here we just focus on the Compilation units tab:

Prism for AL compilation unit diagnostics
Compilation unit diagnostics
# Name Description
1 Path Points to the compilation unit causing the error.
2 Message The error message.
3 Row (error) Each row represents an error. Click the row to view details on the right.
4 Error details If you want to report the error to us, then use the copy to clipboard button, open the Feedback window and paste in the error details.
5 Copy to clipboard Copies the error details to the clipboard.
6 Search Search in error messages.