How to debug workflow library written in C# using ABBYY Flexicapture?

  • Last Post 13 May 2019
Kaushik Ganguly posted this 20 June 2018

I have workflow written in C# and the library is referenced in ABBYY flexicapture project.

I am trying to Launch the debugger from C# code using Debugger.Launch() but it is not launching debugger in my local.

How do I debug the work flow?


  • Liked by
  • mharper
Order By: Standard | Newest | Votes
Ekaterina posted this 26 June 2018


We recommend to debug the Rule Scripts by creating the DLLs in the Visual Studio and copying the rule script into it. 


1. add ControllerInterop.dll from the ABBYY FC11 Servers directory to the VS project of the DLL type. 

2. add to the DLL code 

using ABBYY.FlexiCapture; 

using System.Diagnostics; 

and also 



3. build the DLL, then add it as "attached file" in the Project Setup Station > Project > .Net References and in the Document Definition Editor > Document Definition Properties > >Net references as "Shared assembly" 

4. add to the Rule script code 

using <DLL class name>; 

and also add to the code the methods from the DLL; 


Then on Rule execution the Debugger will be called. 


Here is the instruction from the knowledge base: 


You may also see another instruction from the knowledge base 

but it is related to the JScript code debugging. 

Kaushik Ganguly posted this 28 June 2018

As this is a Workflow code, I see the debugger is launched in the processing station not in my local.

Ekaterina posted this 03 July 2018


Could you please describe in more details the encountered issue?

Ola Thuresson posted this 30 March 2019

I have the some issue I have followed the instructions above but the debugger doesn’t launch. I’m developing on a remote computer


Ekaterina posted this 13 May 2019


Could you please describe in more details the encountered issue?