- Make sure your user is added to the Debugger group on the instance your in
- IMPORTANT: You'll want to log out and back into your instance. This means actually logging out and not just close and reopen AX and/or the RDP session.
- This might be the issue if the debugger pops up but is greyed out and AX seems to have acknowledged the breakpoint but breezed right past it
- Make sure your breakpoints are set and enabled and not 'disabled'.
- There is a button next to the set breakpoints in the toolbar that allow enable/disable
- Assure the code where your breakpoint is is actually being hit.
- This is a make sure its plugged in type response but you'd be surprised how common it is...
- In your user options under Development tab, make sure the 'Debug mode' is set to 'When Breakpoint'
- The breakpoint might be set in a spot that the debugger can't hit. For example, the clicked method on a button.
- adding a line of code for 'breakpoint;' rather than using the red dot breakpoints will allow you to debug these methods
- If the code is running in the CIL, you may need to make the code run on the client.
- Go to your user options > 'Development' tab and uncheck 'Execute business operations in CIL'.
- If the code is running in batch, you'll need to debug this process via Visual Studio. The breakpoints in AX are for client processes only generally.
- You may need to adjust the breakpoint check boxes in the Dynamics AX Configuration Utility under the Developer tab. There are two settings there: 'Enable user breakpoints to debug code in the business connector' and 'Enable global breakpoints to debug code running in the Business Connector or client'
- Check the AOS debugger settings. Dont remember what this check box(es) are called but there is something on the AX AOS config that can be a factor.
A blog (primarily about Dynamics AX/D365) covering topics like X++, AX for Retail, D365 Commerce, Trade and Logistics, retail concepts, warehousing, etc. Something for everyone. Grab bag blog for whatever I think would help out people in the Dynamics AX/Commerce/Retail community. The opinions expressed on this site are my own and do not necessarily represent the views of my company
Showing posts with label Troubleshooting. Show all posts
Showing posts with label Troubleshooting. Show all posts
Wednesday, October 26, 2016
A guide to debugging the Microsoft Dynamics AX Debugger
Debugging the AX Debugger can be a little bugger'. Here are a few things to check for as to why you aren't able to debug some code.
Tuesday, June 21, 2016
Dynamics AX R3 very large text in modules in RDP
When logging into Dynamics AX 2012 R3 (or other versions) via RDP, you'll sometimes see very large text in the modules and object names (Figure 1). The big text is annoying and doesn't really make navigation a delightful experience.
You can fix it through the below:
You can fix it through the below:
- Right click on the Dynamics AX icon on your desktop
- If you don't have an icon, do the following:
- Go to the Start menu
- Type Dynamics AX
- Right click on the icon in the search window results
- Click ' Open File Location'
- Create a shortcut from that Dynamics AX program link to the desktop (right click and create shortcut to desktop, copy paste, etc)
- Select 'Properties' (Figure 2)
- Under 'Compatibility' tab, check the 'Disable display scaling on high DPI settings' checkbox (Figure 3)
- Reopen Dynamics AX via this icon (Figure 4)
Figure 1 - AX with 'big' navigation names
Figure 2 - Right Click on AX icon and select properties
Figure 3 - 'Compatibility' tab and 'Disable display scaling on high DPI settings' box
Figure 4 - The corrected AX navigation
Subscribe to:
Posts (Atom)



