May 19, 2017
Breakpoint not hit in Visual studio [Dynamics 365]
Situation: While put a breakpoint and try to hit debug on any object which is not a part of your solution/project; Breakpoint will not hit. You will get below message.
“The breakpoint will not currently be hit. No symbols have been loaded for this document.”
Possible reason: This is because of one of Debugger property that will not load any symbols for other than Solution/Project objects.
Solution: To enable such debugging, you have to set the debugger property,
Uncheck this option Load symbols only for items in the solution as shown below snaps,
Step 1: Go to Dynamics 365 menu in Visual studio and select option
Step 2: Choose Debugging option from list and uncheck the Load symbols only for items in the solution
Now try to run again, this time breakpoint should hit as expected.