No matter what I try, I cannot get the symbols to load when trying to
debug a workflow. I have followed the MSDN steps of building the
feature for a working workflow, deploying to the GAC, restarting IIS,
then starting the workflow.
I then proceed to Attach to Process... in VS05, find the w3wp process
that has Workflow in the type (it also has T-SQL, Managed, and x86).
I choose Workflow in "Attach To."
I usually get the "No symbols were loaded" problem, where no
breakpoints will be hit (they are hollow are have ! next to them). I
have had VS crash, and also had it say "Failed to attach to these
types of code: Workflow" then saying the debugger is unstable.
I was told there is code to put in the workflow that will make
breakpoints available, but haven't found info on this. I have also
heard having sql assemblies can mess it up, but am not using any
(there is the t-sql type running in w3wp).
Any help on this would be appreciated! I have been attempting this
for weeks! Does anyone debug workflows regularly?