Debug a worker job item in OCRServer.exe

Before debugging, increase the value of Timeout and RPCTimeOut paramteres to a value few hundred times greater than the original in the OCRService.ini file. It can prevent the termination of OCRServer by the OCRService.

  1. In Visual studio, select Project properties > Debug > Start external program.
  2. Select the OCRServer.exe.
  3. Start debugging.
  4. Start the Workflow XML Designer with the same rights you started the Visual Studio.
  5. Create a job that uses the worker job item.
  6. Select Job > Run.