Hello,
What are the steps I should take to make sure 100% that the code I wrote is the code which is executed and not any other complied or cached version?
Any help is most appreciated.
Thanks in advance.
*This post is locked for comments
Hello,
What are the steps I should take to make sure 100% that the code I wrote is the code which is executed and not any other complied or cached version?
Any help is most appreciated.
Thanks in advance.
*This post is locked for comments
Hi,
If you are using CIL, then make sure to run at least incremental CIL.
If it is using CIL, then close AX, clean your .auc files, open AX and test.
Please tell us more about your situation. For example, there is a difference in how infolog messages are displayed when running code synchronously, asynchronously, in a batch or in a web service. Debugging is also done differently in different context - most importantly, CIL requires a different debugger than X++.
The debugger doesn't stop at breakpoints and the info messages are not appearing.
You can debug and go through every line of code. If you don't want that - another option is to add messages at different places for infolog or print, verify code run and then remove these messages.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,269 Super User 2024 Season 2
Martin Dráb 230,198 Most Valuable Professional
nmaenpaa 101,156