Name Date Size

.. 2013-05-16 00:02:25 4

jstack.sh 2013-05-16 00:02:25 1.2 KiB

jstack64.sh 2013-05-16 00:02:25 1.2 KiB

multivm.java 2013-05-16 00:02:25 4.3 KiB

multivm.sh 2013-05-16 00:02:25 1.9 KiB

README.jjh 2013-05-16 00:02:25 1.3 KiB

runjdb.sh 2013-05-16 00:02:25 2.9 KiB

runjpda.sh 2013-05-16 00:02:25 3.4 KiB

runsa.sh 2013-05-16 00:02:25 5.5 KiB

sagclient.java 2013-05-16 00:02:25 6 KiB

sagdoit.java 2013-05-16 00:02:25 11.3 KiB

sagtarg.java 2013-05-16 00:02:25 1.8 KiB

sagtest.java 2013-05-16 00:02:25 2.7 KiB

sasanity.sh 2013-05-16 00:02:25 2.2 KiB

SASanityChecker.java 2013-05-16 00:02:25 4.7 KiB

serialvm.java 2013-05-16 00:02:25 4.4 KiB

serialvm.sh 2013-05-16 00:02:25 1.8 KiB

TargetAdapter.java 2013-05-16 00:02:25 2.3 KiB

TargetListener.java 2013-05-16 00:02:25 1.9 KiB

TEST.ROOT 2013-05-16 00:02:25 1.2 KiB

TestScaffold.java 2013-05-16 00:02:25 27.5 KiB

VMConnection.java 2013-05-16 00:02:25 12.6 KiB

README.jjh

This dir contains a test for the JDI-SA implementation.
sagtest.java, sagtarg.java are a normal JDI regression test
that uses TargetAdapter.java, TargetListener.java, TestScaffold.java,
and VMConnection.java.
This test starts the debuggee, sagtarg.java, which just does a wait.
The test then calls sagdoit.java which calls all the JDJI interface
functions. Well, it doesn't call them all yet, but that is the plan.
At least all that are interesting to the JDI-SA client. The result of
each call is sent to stdout
The script runjpda.sh runs this test. It then runs the targ part of
the test and calls gcore on it to get a core dump into file sagcore.
Do
runjpda.sh >& kk
to run this.
NOTE that this produces 1000s of lines of output
so be sure to redirect to a file.
File sagclient.java is a test program that uses the JDI-SA
client to connect to a core file or pid and then calls sagdoit
which calls the JDI methods.
The script runsa.sh can be used to run sagclient on sagcore:
runsa.sh sagcore >& kk1
You can then look at the differences between the runjpda.sh
and the runsa.sh run to see if there are bugs. Note that the
order of things might be different.
-----------------------------------------
runjdb.sh contains a script that will run jdb on a core file
using the JDI-sa binding.