Java Linux Arm Remote Debugging With Eclipse: "Profiling and debugging agents are not supported in this VM" -


i part of team working on library first robotics competition. have series of tools allow teams write , debug robots using eclipse along our own custom eclipse plugins. before now, confined using custom version of jdk 1.3 run programs on crio had built in debug mode. using jdk-linux-arm (a version of java 8 embedded arm chips). in order debug our programs have run remotely on chip because of jni dependencies.

the command using run program in debug mode is:

killall java killall frcuserprogram sleep 1 nohup /usr/local/frc/jre/bin/java -xdebug -xrunjdwp:transport=dt_socket,address=8998,server=y -jar frcuserprogram.jar 

however when try following output:

[sshexec] killall: java: no process killed [sshexec] profiling , debugging agents not supported in vm [sshexec] error: not create java virtual machine. [sshexec] error: fatal exception has occurred. program exit. 

are there other methods enable remote debugging jdk linux arm through eclipse? has able run through eclipse breakpoints enabled of other features eclipse debugging offers.

rebuild jvm support debugging using jrecreate

jrecreate --dest tmp/jre_debug/ --profile compact2 --vm client --kee p-debug-info --debug

see link http://docs.oracle.com/javase/8/embedded/develop-platforms/jrecreate.htm#cacgabad

use following command line run program:

java -xx:+useperfdata -agentlib:jdwp=transport=dt_socket,address=8348,server=y,suspend=y -jar frcuserprogram.jar


Comments

Popular posts from this blog

database - VFP Grid + SQL server 2008 - grid not showing correctly -

jquery - Set jPicker field to empty value -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -