Mar 20, 2014 by André Arnaud de Calavon Category: AX2012 0 comments

Over the time I have seen some people struggling in debugging their AX 2012 system. Common scenario is that they put a breakpoint on a certain method, but it did not hold while executing the logic. This post will aware people of the option to turn off CIL operations for debugging purposes.

In cases where you need to debug X++ code in Interpreted mode, you can turn off the parameter Execute business operations in CIL. You can find this option in the development workspace.

Tools > Options > Development > General > Execute business operations in CIL

Debug001

Now even when the code is normally compiled to run as .NET Framework CIL, you can use the AX debugger. Very handy when you have to make multiple changes and you don’t want to rely on the CIL compilation first or debug using Microsoft Visual Studio debugger.

To find some more information and constraints on this topic visit this page: Debug in Interpreted Mode Your X++ Code that Runs as .NET CIL [AX 2012]

That’s all for now. Till next time!

Microsoft Dynamics AX CommunitySubscribe to this blogger RSS Feed

Leave a Comment!

Your email address will not be published. Required fields are marked *