79160850

Date: 2024-11-05 22:26:21
Score: 2
Natty:
Report link

How do I remedy "The breakpoint will not currently be hit. No symbols have been loaded for this document." warning?


I got this error using Visual Studio 2022 and Team Foundation Server with a Microsoft Dynamics 365 project.


Solution #1

If any of the above doesn't apply, breakpoints will not be hit.


Solution #2

If solution 1 above is insufficient for hitting breakpoints on your extension files, you can add them to the files to debug as follows:

  1. If you're already debugging, stop.
  2. VS > Tools > Options > Dynamics 365 > Debugging > Search Packages for your extension > Select your extension
  3. Happy debugging :-)
Reasons:
  • Blacklisted phrase (1): this document
  • Blacklisted phrase (1): How do I
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): How do I
  • High reputation (-1):
Posted by: Super Jade