﻿<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://developers.de/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Problem with Debugging of Workflows</title><link />http://developers.de/blogs/damir_dobric/archive/2008/06/11/problem-with-debugging-of-workflows.aspx<description>While working with workflows you may have noticed, that sometimes it is not possible to stop the workflow in debugger. More precisely, the workflow can be stopped in debugger as long the breakpoint is set in code-behind, but not if the breakpoint is set</description><dc:language>en</dc:language><generator>CommunityServer 2008 SP1 (Build: 30619.63)</generator><item><title>re: Problem with Debugging of Workflows</title><link />http://developers.de/blogs/damir_dobric/archive/2008/06/11/problem-with-debugging-of-workflows.aspx#1960<pubdate>Wed, 11 Jun 2008 21:58:49 GMT</pubdate><guid ispermalink="false">7e491611-45ad-4dae-a68f-c4cb64439510:1960</guid><dc:creator>Mark Simms</dc:creator><description>&lt;p&gt;Damir,&lt;/p&gt;
&lt;p&gt;One other useful way of doing this (especially running in an environment with multiple application host processes) is to:&lt;/p&gt;
&lt;p&gt;1. Open the appropriate solution or project in visual studio.&lt;/p&gt;
&lt;p&gt;2. Temporarily embed a System.Diagnostics.Debugger.Launch() in the startup code for the module (perhaps wrapped in an #if DEBUG conditional) and launch the host.&lt;/p&gt;
&lt;p&gt;3. From the list of debuggers that will appear, select the one with the project or solution open.&lt;/p&gt;
&lt;p&gt;Same outcome, may be a little smoother depending on your development setup (I usually do this for debugging new event handlers for Biztalk RFID).&lt;/p&gt;
&lt;p&gt;Mark&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://developers.de/aggbug.aspx?PostID=1960" width="1" height="1"&gt;</description></item></channel></rss>