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?
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?
1 out of 1 found this helpful
Comments
5 comments
Hello,
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
Debugger.Launch();
Debugger.Break();
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:
https://knowledgebase.abbyy.com/article/1503
You may also see another instruction from the knowledge base
https://knowledgebase.abbyy.com/article/1505
but it is related to the JScript code debugging.
As this is a Workflow code, I see the debugger is launched in the processing station not in my local.
Hello,
Could you please describe in more details the encountered issue?
Hello,
Could you please describe in more details the encountered issue?
Please sign in to leave a comment.