topic hubAL Developmentofficial - Microsoftreviewed - checked by Opus

Troubleshooting in the client

Troubleshooting in the Business Central client covers in-client diagnostic tools: page inspection, error dialogs, database locks, table information, missing indexes, event discovery, report dataset export, and the Performance Profiler. It also covers page customization, personalization, permissions and on-premises mobile app issues.

Path: Development > Troubleshooting > Troubleshooting in the client · tier official · system development · narrative reviewed (checked by Opus)

Overview

This section collects tools that developers, administrators and support staff use from within the Business Central client. Diagnostic pages include Inspect Pages, the error dialog with its AL call stack and session ID, Database Locks, Table Information and missing index suggestions. The Performance Profiler subtopic covers recording and analyzing business process performance.

Other pages support development and setup work. Events discoverability uses the Event Recorder to find events and generate AL snippets. Report datasets can be exported to Excel or XML for inspection. Permission sets, profile-based page customization and user personalization control what users can access and see. A separate page covers mobile app issues on-premises.

Start with Understanding the error dialog or Inspect Pages for a specific user-reported problem. Use the Performance Profiler, Database Locks, Table Information and Missing indexes pages for slow performance or lock timeouts.

Key points

  • Performance Profiler: record and analyze business process performance, read call trees and time spent, schedule profiling for specific users and activity types, and share or download profiles.
  • Error dialog: the Copy Details section includes the AL call stack and the Application Insights session ID.
  • Database Locks page shows granted and waiting lock requests, with user, session and executing AL code, to diagnose lock timeouts.
  • Table Information page shows record counts, data sizes, index sizes and compression types.
  • Missing indexes page suggests indexes (equality, inequality and include columns) based on SQL Server Dynamic Management Views (2025 release wave 1).
  • Event Recorder captures events during a scenario and produces AL snippets for event subscribers.
  • Report datasets can be exported to Excel (data only) or XML, with a Report Metadata worksheet.
  • Page inspection shows page design, elements and data sources, with Visual Studio Code integration and permission control.

Subtopics

More Learn pages

Key facts from Microsoft Learn (CC BY 4.0), in our own words (D106); open the page for the full text.

Videos, posts and code changes

Linked by a Haiku matcher with a grounding quote from the item’s summary (link/topics.ts); machine-generated.

Business Central pages and reports

The pages, reports and queries this hub’s Learn pages name (ms.search.form, API reference), joined to the code by exact object id (data/index/docs-objects.json); a page shows the table it runs on.

Learn also names 2 objects with no object page: page/9830, page/9831.

Source: Microsoft Learn (CC BY 4.0). Descriptions are Learn’s own.

What Learn documents here 8 of 13 Learn pages

Show 5 more