When you run a report that uses RDP as a data source, the RDP class is compiled into a. NET service call, and RDP is the code for x + +, and its debugging is done in the MorphX debugger. The following configuration is required to debug RDP's X + + code in the MorphX debugger:
- Add the AOS service account to the local Microsoft Dynamics AX debugging users user Group
- Enable debugging in Dynamics AX Server configuration: Open the Dynamics AX Server Config tool, create a new configuration, and select the "Application Object Server" tab on the Enable breakpoints to debug X + + code running on this server and enable global breakpoints, and then restart the AOS service after saving the configuration.
- Open the RDP code you want to debug, and add a line "breakpoint;" in the Processreport method. Enable breakpoints.
- Open the Dynamics AX Debugger debugger and keep it running.
Now that you run an SSRS report that uses this RDP, the AX debugger will automatically break on the "breakpoing" line.
See https://technet.microsoft.com/en-us/library/gg724081.aspx for more information.
[AX2012] Report Data Provider Debugging