Tuesday, September 27, 2011

Debugging FIM Workflows

Most blog posts enjoy the theme of sharing something that was hard to learn.  This blog post shares nothing but failure, except for the small glimmer of hope that somebody will point out that I am just missing something obvious.

Windows Workflow Foundation does a nice job of providing a canvas for drawing code.  It is a visual representation of what we would otherwise have done in code.  This visual representation is very convenient when debugging (or just learning) workflows.  The ability to set a breakpoint on an item on the workflow canvas is a very intuitive experience.

This is the thing I have not been able to figure out.

The FIM Debugging Guidance on MSDN only shows how to debug managed code in a FIM WF.  What I’m really after is what Bahram asked for back in the RDP: debugging the WF code type.

What I really want to do is watch the debugger through the WF designer, as opposed to setting a breakpoint in the code then trying to correlate.

If anybody has been able to figure this out, I’d love to know the secret!

BTW – it is not a case of missing symbols or selecting the wrong code type.  I can demonstrate breakpoints working in the same class inside code activities, but failing for the actual WF breakpoint. Arg!

No comments: