O'Reilly logo

Microsoft Dynamics AX 2012 R3 Reporting Cookbook by Deepak Agarwal, Chhavi Aggarwal, Kamalakannan Elangovan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Debugging a report model

One challenge that comes along with the new reporting model is debugging. Different approaches for debugging issues must be taken based on the context. This is a short recipe that will tell you the configurations to debug the report model and the possible methods where the debugging points would be appropriate to start.

How to do it…

To debug framework-related classes the AX debugger can be used:

  1. Under developer options, make sure the Execute business operations in CIL flag is unchecked to enable you to debug the code in X++ debugger.
  2. The following methods are ideal to place your debugger to examine the execution:
    • Controller: PrePromptModifyReport, PreRunModifyReport
    • UI Builder: build

    Note

    You must first open your debugger manually ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required