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.
To debug framework-related classes the AX debugger can be used:
Under developer options, make sure the Execute business operations in CIL flag is unchecked to enable you to debug the code in X++ debugger.
The following methods are ideal to place your debugger to examine the execution:
Controller:
PrePromptModifyReport
,PreRunModifyReport
UI Builder:
build