Skip to main content

Blogging about SharePoint

Go Search
Home
Blogging about SharePoint
Public Speaking
  

Michael Blumenthal's BlumenthalIT.NET > Blogging about SharePoint > Posts > Debug XOML Bogus - why?
Debug XOML Bogus - why?

On 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

Comments

Re: Debug XOML Bogus - why?

The binary locked into memory is an old version. Go grab a latte while all your virtual machines reboot, delete all the temp files you can find and try again.
at 2/16/2009 9:23 AM

Re: Locked Binary

I'm not sure that an old binary is in memory.  In the latest build, I have code that logs certain messages to  the history list, and that code is running.  However, the "live" XOML represents an earlier build.  How can both happen at the same time?
Michael Blumenthal at 2/17/2009 8:19 AM

Same problem

I've had the same problem.  You shouldn't have to restart your virtual machine.  Just restart Visual Studio.
at 3/3/2009 6:19 AM

Add Comment

Items on this list require content approval. Your submission will not appear in public views until approved by someone with proper rights. More information on content approval.

Title


Body *


Please put your name at the end of your comment as the Name field doesn't display in the main view of the comments.

Name: *


Your name.  If you first name is Michael, please provide initials or the like to clearly distinguish your name from Michael Blumenthal's.
Also, this field does not appear in the main view of the comments.

Need Paid Consulting Services?

Are you interested in engaging a SharePoint consultant for fee-based consulting services?  If so, I can have an Account Executive from my employer contact you.  Other site visitors will not see this column.

Additional Contact Information

Please provide additional contact information if you need a direct response.  Other site visitors will not see this column.

What is tomorrow's date? *

This is a weak CAPTCHA based on advice from a tweet from @ToddKlindt.
Attachments