|
Michael Blumenthal's BlumenthalIT.NET > Blogging about SharePoint > Posts > Debug XOML Bogus - why?
|
2/15/2009On Friday, I was debugging a SharePoint workflow that I built in Visual Studio 2008. When I ran it, then stepped through the running workflow in the debugger, the designer view of the running XOML did NOT match the designer view of the workflow. In fact, the "live" XOML that was generated by the debugger was a visualization of an old build of my codebase. WTF? In particular, I had a parallel activity in my workflow, with 5 branches. In my current build, I had commented out branches 2-5, and renamed all the activities in branch 1. When my code ran, I could tell by the messages I was writing to the history list that the current version of my workflow was indeed running. But when I stepped into it, the "live" XOML designer view that the debugger created had all 5 branches of parallel activity enabled, and branch 1 had all the old names. How is that even possible? Michael |
|
|
|
|
|
|