Hot Method Replace for debugging Java applications
With hot method replace, you can modify your source code while debugging without restarting the application.
Enabling Hot Method Replace
If you wish to debug a standalone Java application and make use of the hot method replace functionality, you will need to use a Java Runtime Environment (JRE) that supports Hot Method Replace (also called Hot Code Replace). The installed default JRE included with the IBM Rational Software Development Platform provides this support.
To enable hot method replace when running with the default IBM Rational Software Development Platform JRE, go to the Arguments Tab of your Java Application launch configuration and specify -Xj9 as a VM Argument.
When debugging Java using hot method replace, there are some limitations. To learn about these limitations, see the Java a mixed language debug limitations topic below.
Related concepts
Hot Method Replace for debugging applications on WebSphere Application Servers
Related reference
Java and mixed language debug limitations
WebSphere Application Server debug limitations