#StackBounty: #java #debugging #jvm #rhapsody Rational Rhapsody Debugging JVM

Bounty: 50

I am trying to attach a remote debugger to Rational Rhapsody in order to debug a Java plugin I developed.

The official guide to do this for Rhapsody 8.1 can states:

Add the following debug options to the JVM section of the rhapsody.ini
file:

Options=ClassPath,LibPath,Debug1,Debug2,Debug3

Debug1=-Xnoagent

Debug2=-Xdebug

Debug3=-Xrunjdwp:transport=dt_socket,address=6743,server=y,suspend=y

Which seems to be a simple addition of startup arguments for the JVM.

However if I apply this arguments to my Rhapsody it starts as always, however when I open any project containing a plugin call (hence which would start the JVM) it does get stuck while opening it and the application goes to “Not Responding”.

I also tried to checkout the “JavaAPILogFile” which without the startup options shows all the Java calls that Rhapsody does to startup a project. If I activate the debugging options this log file stays empty.


Get this bounty!!!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.