Dynamics and Visual Studio error: “The breakpoint will not currently be hit.”
Views (57)
If you see the following error while adding a breakpoint to X++ code in Visual Studio:
The breakpoint will not currently be hit. No symbols have been loaded for this document.
And your breakpoint is empty with a small exclamation mark next to it:
Enable the parameter to allow Visual Studio to load symbols for items that are not in your current solution:
Tools> Options> Dynamics AX> Debugging
This will enable the breakpoints in the code:
Once you start debugging your breakpoints in the breakpoints window will also turn from empty to red, and they will be hit when the code is executed:
I hope this solves the error! If it does, or it doesn’t, let me know in the comments.
*This post is locked for comments