web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Dynamics 365 Community / Blogs / Make Create Reiterate / Dynamics and Visual Studio ...

Dynamics and Visual Studio error: “The breakpoint will not currently be hit.”

Tina Vyf Profile Picture Tina Vyf

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:
Breakpoint disabled

Enable the parameter to allow Visual Studio to load symbols for items that are not in your current solution:

Tools> Options> Dynamics AX> Debugging
parameters

This will enable the breakpoints in the code:
breakpoint enabled

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:
Breakpoints

I hope this solves the error! If it does, or it doesn’t, let me know in the comments.

Comments

*This post is locked for comments