Wednesday, 26 February 2014

Debug AX 2012 report data provider

Just a quick note regarding debugging report data provider.

Most of the AX 2012 SSRS report consist of 3 classes:
1. Controller
2. Contract
3. Report Data Provider

While debugging controller and contract classes is easy, one might finds that the breakpoint put in report data provider does not take effect. This happen if the data provider extends SrsReportDataProviderBase.

In order to be able to debug report data provider, it is suggested to extends SrsReportDataProviderPreProcess instead of SrsReportDataProviderBase.