A background process, called the Serenji Sentry, runs on your workstation and listens on a TCP port for connection requests from a server.
Using Ensemble Management Portal, a message session can be replayed through Serenji. This allows you to step through each stage of its processing.
Alternatively, an Ensemble message session that you want to debug calls a method in a Serenji support class, enabling debug mode. To trigger this you implement whatever mechanism is appropriate to your needs.
When the Sentry process on the client workstation receives a request from an Ensemble process handling a message for the session being debugged, it starts the Serenji for Ensemble window, as shown below.
In the Serenji for Ensemble window, there are multiple windows which display:
- Immediate mode
You can then choose to run the application with the GO command, or Step in, Step out, Step over, Run to cursor or Fast forward as appropriate.