Friday, October 31, 2008

Debugging code on Business Connector

As MSDN our suggests, first, we should enable Debugger on the client, (do not be confused with versions! my previous link is correct for AX 4.0 and AX 2009 too, but this is only for AX 3.0)



Then, we must to enable the same on the Business Connector with Configuration Utility: (in my case I had to check both in order to debug my web service)


Now, you can add a breakpoint in your code.


Finally, you should run an instance of Debugger manually from the client's main menu because it does not start automatically as usually.


In conclusion I need to say that you should log in on your debugged application with the same user account which was used for the client and debugger sessions.



Lucky hunt for bugs!



No comments: