It seems that this problem is really tricky, because it is a built-in usage method provided by Sharepoint, it is difficult to see the error information, but it is not impossible.
There is a hidden list in the SharePoint site called workflow history. You can use the information in this list to help you view the running status of workflow. for example, if the workflow of OOB (out of box) is "approved", a lot of data will be written to the data column of the item in the workflow history.
SharePoint designer provides an action called log to history list. when you want to record the history information of workflow for error research or tracking, you can use this action to record the information to the workflow history list. when you create a workflow that uses actions such as log to workflow history list, Office Sharepoint designer 2007 automatically creates a list called workflow history. this list contains data columns such as user ID, date, event, and error description.
For the workflow developed by Visual Studio, you can call the following method to write data to the workflow history to help you debug workflow.
Spworkflow. createhistoryevent (this. Web, WF. instanceid, 0, usermember, time, "", "some comments here", "");
References:
Introduction to workflows
Http://office.microsoft.com/en-us/sharepointdesigner/HA101005871033.aspx
Write to the workflow history list programatically
Http://sharepointcoding.wordpress.com/2008/09/09/wirte-to-the-workflow-history-list-programatically/
Logging to the workflow history list in SharePoint workflows
Http://www.tonstegeman.com/Blog/Lists/Posts/Post.aspx? Id = 103