Search This Blog

May 19, 2017

Breakpoint not hit in Visual studio [Dynamics 365]

Hi Folks,





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.”

clip_image001[8]

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

clip_image002[7]

  
Step 2: Choose Debugging option from list and uncheck the Load symbols only for items in the solution

clip_image003

Now try to run again, this time breakpoint should hit as expected.

Enjoy…!!!

Harry 

No comments:

Post a Comment

Thanks