Expert AWS Development
上QQ阅读APP看书,第一时间看更新

Troubleshooting and debugging a workflow execution

In the AWS SWF console, you can use the workflow history, which contains a complete and authoritative record of all the events that changed the execution state of the workflow execution. It is maintained by Amazon SWF but it will not help to diagnose problems. The Amazon SWF console will enable you to search for workflow executions and you can then drill down into individual history events. The WorkflowReplayer class is provided by the AWS Flow framework. This is used to reply a workflow execution and you can debug it locally. Using debugging tools, you can create breakpoints, step into code, and debug the workflow.