Follow these steps to run and debug your agent in the IDE:
You have two options.
1. Select Properties if you want to modify your AgentContext or select a different AgentContext. The AgentRunner window will open. Select the AgentContext that you wish to use and then click Run Agent. To modify your agent, click Update Agent Context. You can change the Agent Runs on and Search Criteria fields to generate the UnprocessedDocuments collection that you would like to use for debugging purposes. You must supply this information because it cannot be determined from running the agent. When you have finished updating your AgentContext, click the Update AgentContext Document button and close the window. Click Run Agent to run the agent or click Save Selection first to make your new AgentContext the default choice.
2. Select Run if you wish to run your agent with the default AgentContext document. This is either the last AgentContext that you ran or the last one you saved. If you have set any breakpoints or have errors in your code, the Debugger window will open and allow you to step through your code.
When your code is error-free, you can create the production agent.
The Domino AgentRunner
The Integrated Debugger
Debugging during the Development Cycle with the
Integrated Debugger
Setting Breakpoints in the Source Code
Setting up for the AgentRunner
Write or Import an Agent
Generating an AgentContext Document
Creating the Production Agent