Has anyone experienced a problem with debugging workflows in WorkflowApplication where sometimes it does not break at the breakpoint in the Execute method? This doesn't happen all the time, but it's pretty frequent. I've tried deleting the .suo files and re-openning VS2012, but it usually does not help.
If you've experienced this, what do you usually do to get it to break at the breakpoints again?
Furthermore, is there a WorkflowApplication process that I can attach to for debugging, similar to the way I attach to the IIS process(w3wp.exe)? If so, what is the name of the WorkflowApplication process?
Thanks in advance!
Looks like I found my problem. It was an assembly loading issue that I had within the Activity class that I was trying to debug. I was able to debug the Activity by attaching to the IIS process, but as soon as I added code into the execute method of the activity to instantiate a logging assembly, it failed to break in the execute method.
The Activity compiled fine, but when I ran the Activity using the WorkflowApplication, I had to handle the Aborted or OnUnhandledException event of the WorkflowApplication to find out that the Activity couldn't load or find the logging assembly.
Thank you all for your time in helping me troubleshoot!