Sparx Systems Forum
Enterprise Architect => General Board => Topic started by: soril on February 22, 2007, 07:00:27 pm
-
Hello !
I am trying to use the java debugger and attach it to the JVM. I am using eclipse 3.2 and JDK 1.6.0. The command I use is "java -agentlib:C:\Program Files\Sparx Systems\EA\SSJavaProfiler65". Under Eclipse, the command seems to work when I select "Run as..." but it gives me the following error when I select "Debug as..." : ERROR: JDWP unable to get necessary JVMTI capabilities. Then, there is nothing I can do and I'm stuck.
Any idea ? I need help.
Thank you!
-
Sounds like a path someplace is not correctly set. Take a look at the EA resources page, or search this forum for additional advice. Be patient and try several keyword combinations, the forum search is very literal.
-
As far as I know it is not possible to debug your application in eclipse (Debug as...) and have the EA debug-agent running in the VM.
-
How can I use then ? Do I have to use jdb in command line ?
Thank you for your help !
-
Found this via Google:
"The problem is in Java 5.0 limitation, which does not allow more than one JVMTI agent to co-exist. In this case, the first agent is the profiler, and the second agent is Java's debugger."
Which sounds relevant ...
Why oh why did they remove JVMPI (profiler) and JVMDI (debugger) interfaces and merge them ???!
-
Why oh why did they remove JVMPI (profiler) and JVMDI (debugger) interfaces and merge them ???!
The streaker's defence? "Your honour, it sounded like a good idea at the time...."
;)
Paolo