[armedbear-cvs] r12960 - trunk/abcl

Erik Huelsmann ehuelsmann at common-lisp.net
Fri Oct 8 22:11:08 UTC 2010


Author: ehuelsmann
Date: Fri Oct  8 18:11:07 2010
New Revision: 12960

Log:
Add Ant target which allows JPDA/IDE-based debugging of ABCL's
startup/initialization and self-building phase.

Modified:
   trunk/abcl/build.xml

Modified: trunk/abcl/build.xml
==============================================================================
--- trunk/abcl/build.xml	(original)
+++ trunk/abcl/build.xml	Fri Oct  8 18:11:07 2010
@@ -424,6 +424,18 @@
       <echo>JPDA listening on localhost:6789</echo>
     </target>
 
+    <target name="abcl.build.debug.jpda" depends="abcl.compile.java">
+      <description>Invoke ABCL with JPDA listener on port 6789</description>
+      <java fork="true"
+	    classpathref="abcl.classpath.build"
+	    classname="org.armedbear.lisp.Main">
+	<jvmarg
+	    value="-agentlib:jdwp=transport=dt_socket,address=6789,server=y"/>
+        <jvmarg value="-Dabcl.home=${abcl.home.dir}${file.separator}"/>
+      </java>
+      <echo>JPDA listening on localhost:6789</echo>
+    </target>
+
     <target name="abcl.run" depends="abcl.jar">
       <java fork="true"
 	    classpathref="abcl.classpath.dist"




More information about the armedbear-cvs mailing list