Conditional breakpoint workaround

As you may know, the Ax debugger does not feature conditional breakpoints. It does obviously allow you to set breakpoints, but there is no option to make them active depending on some condition that is evaluated each time the breakpoint is encountered. There are some programming scenarios where it is highly advantageous to be able…

4

Transforming X++ code to managed code: Check the video…

The channel 9 video: https://channel9.msdn.com/posts/Charles/Peter-Villadsen-and-Gustavo-Plancarte-Inside-Ax-Translator-X-to-MSIL/ showcases some work that the X++ team has done to investigate the options for transforming X++ code into managed code. We are publishing it here in the hope that it may spark some interesting discussions and feedback. Even though we are passionate about this work, you should not infer that this feature will…

1

Nulls in foundation classes? A chance for you to help out.

The name “Axapta Foundation Classes” or just AFC for short,  is given to a number of classes that are used to contain other values. Each one specifies the type of the constituent element.  The foundation classes have many things going for them: They are easy to use and very effective; because there is very little…

6

Forthcoming changes to the X++ language

High level programming languages and their compilers solve many problems for developers who want to provide value to a particular business domain.   For one thing, compilers raise the abstraction level from the nitty-gritty details of the hardware and software systems running the code (like storage locations and memory allocation) to something more manageable (like…

0

Step-by-Step Checklist for Debugging Batch Jobs in Dynamics Ax

This post applies to Microsoft Dynamics Ax 2009 (see version note below).   A. Enable Global Breakpoints               When debugging in the client, you want to set breakpoints that can be caught by the debugger.  The following steps show how.   1.      Launch the Microsoft Dynamics AX Configuration tool from the Start > Administrative…


Serializing Axapta Foundation Class instances as XML streams

The Axapta foundation  classes are a set of generally applicable classes that contain values of either simple types or other classes. They are: Structs, structures of named fields, Arrays, arrays of any type, not just simole type Lists, lists allowing traversal with enumerators Maps, dictionaries allowing lookup of values, yielding a result value Sets, ordered…

2

Is the X++ Compiler Too Flexible?

In Microsoft Dynamics AX 2009, the X++ compiler is sometimes too flexible in its rules for code. It is likely at some of these flexibilities will be eliminated in future releases. This blog entry describes some flexibilities of the X++ compiler that we recommend you not utilize.     [1] Sequence of Default Parameters  …

0