#!/bin/bash # # Copyright (c) 2012-2017 Red Hat, Inc. # All rights reserved. This program and the accompanying materials # are made available under the terms of the Eclipse Public License v1.0 # which accompanies this distribution, and is available at # http://www.eclipse.org/legal/epl-v10.html # # Contributors: # Red Hat, Inc. - initial API and implementation # javac -g org/eclipse/ThreadDumpTest1.java javac -g org/eclipse/ThreadDumpTest2.java javac -g org/eclipse/StackFrameDumpTest1.java javac -g org/eclipse/GetValueTest1.java javac -g org/eclipse/EvaluateExpressionTest1.java javac -g com/HelloWorld.java javac -g org/eclipse/BreakpointsTest.java javac -g org/eclipse/BreakpointsByConditionTest.java DEBUG_OPT="-Xdebug -Xrunjdwp:transport=dt_socket,address=8001,server=y,suspend=y" java ${DEBUG_OPT} org.eclipse.BreakpointsTest java ${DEBUG_OPT} org.eclipse.BreakpointsByConditionTest java ${DEBUG_OPT} org.eclipse.ThreadDumpTest1 java ${DEBUG_OPT} org.eclipse.ThreadDumpTest2 java ${DEBUG_OPT} org.eclipse.StackFrameDumpTest1 java ${DEBUG_OPT} org.eclipse.GetValueTest1 java ${DEBUG_OPT} org.eclipse.EvaluateExpressionTest1 java ${DEBUG_OPT} com.HelloWorld