I am using Dynamic activity and loading a workflow from xaml.
This xaml file is written using a rehosted WF designer.
Is there a way to debug this and go step by step through the activites?
The Visual Workflow Tracking WF4 sample app uses a rehosted WorkflowDesigner and steps through the activities. Not exactly what you are looking for but it should help you get started.