I built a library for IBM PCOMM (Terminal Automation, known as HOST or Mainframe). Inside some activities I’m throwing system errors. When I’m implementing the library in my workflows, they work properly when I run the activity normally. But if I run as Debug… Every time that reaches an error it freezes:
This is the log when I just run the file (what I need):
But then when I debug the same file (It doesn’t continue throwing the error so I can’t keep debugging to handle the error and make test. I can’t even pause, Just stops):
It’s hard to make test having to run all the code every time, or just making unit testing
That might be because the terminal connection is not ended and its getting stuck there…Can you try closing the terminal session before throwing the error?
I tried, right now my code is closing session first, still gets stuck when I throw an error. Another thing ti describe the issue is that the workflow that throws the error is nested (parent-child), I mean.