Using the Apama Studio Development Environment > Debugging JMon Applications > Example debug session
Example debug session
This section provides a very simple example that highlights some of the basic debugging concepts. It shows the basic steps for creating a JMon JAR file and injecting it into a debug enabled correlator. Familiarity with how to develop JMon applications is assumed and some steps are omitted based on this assumption.
The steps for developing a JMon application are as follows:
1. Implement the Java code.
2. Annotate the Java code with required JMon information.
3. Generate the classes from the code.
4. Package the classes into a JAR file.
5. Create the JMon JAR manifest manually or by using the JarProcessor utility.
6. Inject the JAR file into a running correlator that is enabled with the JVM and with the proper Java options for remote debugging.
This section provides details as follows:
*Debug example of preparing code and JAR file
*Debug example of starting correlator and injecting application
*Example of debugging in Apama Studio
Copyright © 2013-2015 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Use, reproduction, transfer, publication or disclosure is prohibited except as specifically provided for in your License Agreement with Software AG.