Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

JTraceRT run script

  • Loading branch information...
commit aa503b2e4a3203be30f8617d9a5075b848593d21 1 parent 9f57c67
Matthew McCullough authored
Showing with 14 additions and 0 deletions.
  1. +14 −0 jtracert-samples/jtracert-helloworld.sh
14 jtracert-samples/jtracert-helloworld.sh
View
@@ -0,0 +1,14 @@
+#JTracert location
+export JTRACERT_HOME=/Applications/Dev/jtracert
+#GOING TO USE JUST A HELLOWORLD FOR NOW export JAVA2D_HOME=/Developer/Examples/Java/JFC/Java2D
+
+#Run java2d with jtracert listener
+#java -jar $JAVA2D_HOME/Java2D.jar -javaagent:$JTRACERT_HOME/jTracert.jar=7007 &
+#java -javaagent:$JTRACERT_HOME/jTracert.jar -DclassNameRegEx=.* -DverboseInstrumentation -DverboseAnalyze -DanalyzerOutput=webSequenceDiagramsOut -DoutputFolder=/Users/mccm06/Documents/Teach/Courses/Open-Source-Debugging-CombinedTools-NFJS/example-files_git/jtracert-samples com.ambientideas.HelloWorldJava
+java -javaagent:$JTRACERT_HOME/jTracert.jar=7007 -DclassNameRegEx=.* -DverboseInstrumentation -DverboseAnalyze com.ambientideas.HelloWorldJava &
+APPPID=$!
+
+cd $JTRACERT_HOME
+jtracert.sh
+
+kill $APPPID
Please sign in to comment.
Something went wrong with that request. Please try again.