Book Image

Microsoft Dynamics AX 2012 R3 Reporting Cookbook Update

Book Image

Microsoft Dynamics AX 2012 R3 Reporting Cookbook Update

Overview of this book

Table of Contents (17 chapters)
Microsoft Dynamics AX 2012 R3 Reporting Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Debugging business logic


Business logic can be debugged using the Visual Studio debugger. Follow this recipe to activate debugger and debug the report.

How to do it…

  1. Ensure that you are on the same server where the reporting services is installed.

  2. Set the project configuration to point to debug mode, and rebuild and deploy the solution including the report model and the included business logic.

  3. This will deploy the necessary symbols for debugging.

  4. Open Tools | Attach to Process, and make sure Show Process from All users and Show Process from All sessions is checked.

  5. Under the displayed process select ReportServicesService.exe and click Attach.

  6. Open the report through the report services in the web browser or in AX.

  7. After specifying the parameter values in the dialog, the reporting services will activate the debugger.

How it works…

The business logic for a report is stored along with the report as a DLL. These DLLs are deployed along with the RDL. To debug the data method, the debug files are loaded...