Monday, December 15, 2008

Enable Debug on Server

When single stepping through X++ code on the client you can bump into code that can only execute on the server.  In a default deployment you will not be able to single step through the code.  To enable this feature you must turn it on in the ‘Microsoft Dynamics AX Server Configuration Utility’ tool.

If necessary, use the Manage button to Create Configuraton.  On the first tab, Application Object Server, make sure that the [x] Enable breakpoints to debug X++ code running on this server check box is checked.

You can also do by a direct registry hack, like so:

REGEDIT4

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dynamics Server\4.0\01\ Original (installed configuration)]
"xppdebug"="1"

No comments:

How to identify the user that was used to change an object from AOT in AX2012

Get the object name for which we need to track these (user and date&time) information's. Login to SQL Server Management Studio an...