Join our book community on Discord
https://packt.link/businesscenter
Dynamics 365 Business Central AL Language extension provides a debugger to help developers check, correct, or modify code so that custom extensions can build successfully, deploy smoothly, and act as expected.Debugging can be done synchronously or asynchronously by collecting snapshot and analyse them afterwards. Together with debugging, it is also possible to analyse code performance by collecting AL profiler traces. Profiler traces can be collected using Visual Studio Code or directly from the client (in-client profiling).There are also some useful external tools that can be used to analyse AL profiler traces.This chapter will cover the following topics:
- Running the AL Language extension in debug mode.
- Debugging with attach to process
- Snapshot debugging
- Performance profiling