1. Put break point where you required in code.
2. Click symbols settings
Here is the tip/ resolution for debugging in VS 2015 when you faced issue with symbols are not loaded. Why symbols are loaded? After analyzing found that trying to debug the code which is out of your customized code which means other suite/ model code (standard Form from other model/ non extension form). So try to load symbols for the module and start debugging as shown below. 1. Put break point where you required in code. 2. Attach to Process. Debug->Attach to Process. After Attach to process (w3wp.exe) you will face that Symbols are not loaded issue. 3. Go to Module as shown. 4. In Modules select Ledger.dll -> right click -> 1. Click Always load automatically 2. Click symbols settings 5. Now Click on Load all symbols button. Make sure that select properties as shown below. 6. Now system will load all symbols related to Ledger Module for you. Click OK after finish. 7. Open AX and click form, now break point will hit for debugging......:-)
4 Comments
11/25/2016 02:45:09 am
Maybe a silly question, but are you aware of Dynamics AX > Options > Debugging > Load symbols only for items in the solution (in Visual Studio)?
Reply
Sunil
11/25/2016 03:03:40 am
yes..aware...it did't work. So this could be an alternative...:-)
Reply
As Martin suggested above, this can be done by unchecking the "Load Symbols only for items" in the Debugging options from VS. Once tihs is done, then give it a little time to load symbols for all the App Suite * dlls and now when you breakpoint in any of the App Suite object, this will work without any issues.
Reply
Angela B
8/1/2018 01:16:04 pm
This has been really helpful to me. Thanks so much for posting! :-)
Reply
Leave a Reply. |
AuthorI'm Sunil Rakesh Kanchumarthy, technical professional having good exposure on axapta. Created this useful blog for knowledge sharing. Having good experience as an consultant on Microsoft Dynamics Axapta (ERP). Developed customization using X++, AOT, and knowledge on EP & AIF. Familiar with Axapta Installation of version 3.0, 4.0, Ax2009, Ax 2012 along with SQL Server. Done Axapta Reports in Ax 3.0, Ax 2009 & SSRS reports in Ax 2012. Customizations on D365 Operations (AX7). Experience on Integrations, using LogicApps, Knowledge on PowerApps development, and also in code deployment. Archives
September 2018
Categories |