The breakpoint will not currently be hit. No symbols have been loaded for this document

Summary

I recently came across this error when trying to debug a plugin. ‘The breakpoint will not currently be hit. No symbols have been loaded for this document‘. During my investigation I noticed that I had not registered the assembly correctly.

When registering a new assembly, I accidentally set Step 3: Specify the isolation mode as ‘Sandbox‘.

When attaching my debugger to the remote debuggers w3wp.exe process, all looked well, however I started seeing the dreaded ‘The breakpoint will not currently be hit. No symbols have been loaded for this document‘.

Once I updated the assembly with the correct settings:

I was able to attach to the remote debugger as normal.

The other item that I had to make a slight adjustment to was my registration step.

In order for the debugger to work, the process must by Synchronous.