

#VISUAL STUDIO 2012 REMOTE DEBUGGER HOW TO#
In this case we can stop debugging and open the object in the Application Explorer, to make sure that Visual Studio has downloaded.This article will explain how to do remote debugging with Visual Studio. If we let all the symbols are downloaded, we can surf the execution routinely, but sometimes the source of some objects will not be available during debugging.In this case it should be a different instance of Visual Studio we use to debug it is associated with OSA. If you are trying to debug is invoked from an external application, such as a web service, we can have another instance of Visual Studio open to run.When you have downloaded all objects, and can run our application and to reach the breakpoint, it will stop at the open session of Visual Studio (not the debugger MorphX ).
#VISUAL STUDIO 2012 REMOTE DEBUGGER CODE#
All code is downloaded to C: \ Program Files \ Microsoft Dynamics AX \ 60 \ Server \ \ bin \ XppIL \ source for Visual Studio has access to the show and we in the editor. After this process you may be reloaded symbols (X ++ code and assembled AOS CIL is discharged to the session of Visual Studio).Activate the checkbox Show processes from all users and show processes for all sessions, select the process Ax32Serv.exeAOS we want debug and press Associate.The first is a slow process The following times will run much faster. If the message appears in the status bar of Visual Studio (at the bottom of the window) “Loading symbols” is best to wait until this process is complete.Navigating the Application Explorer and put breakpoints where we want to stop running (add breakpoins in Visual Studio, not MorphX !!).If you are not already showing, show the Application Explorer (from the menu View ), which shows the OSA VS.Start Visual Studio on the server and Elevated.Therefore it is highly recommended to use a development server isolated not to disturb the other developers.If we use a single AOS for all developers, it may be interesting to take another AOS for remote debugging.


If we put a breakpoint from the X ++ editor in MorphX in code running on the server, we see how the integrated debugger never stops at this point. Much of the code we developed in X ++ classes running on the server layer ( Data Providers reports, processes Batch, SysOperation, …), which is a little uncomfortable when debugging.
