This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
Error debugging in NetBeans | debug-nb failure
- From: Charles Turner <chturne at gmail dot com>
- To: kawa at sourceware dot org
- Date: Fri, 17 Jun 2011 13:28:59 +0100
- Subject: Error debugging in NetBeans | debug-nb failure
Hi,
There was an update today which seems to have adversely effected
debugging from within NetBeans.
The error appears to be the misuse of the --no-prompt switch. I'm not
sure why this has worked in the past, since according to
the change logs, it was replaced by --no-console in 2007. Didn't study
the latest updates however.
Anyway, the patch attached fixes the problem for me.
Regards,
Index: nbproject/ide-targets.xml
===================================================================
--- nbproject/ide-targets.xml (revision 6989)
+++ nbproject/ide-targets.xml (working copy)
@@ -16,8 +16,10 @@
<java classname="kawa.repl" classpath="${build.classes}" fork="true" taskname="kawa">
<jvmarg value="-Xdebug"/>
<jvmarg value="-Xrunjdwp:transport=dt_socket,address=${jpda.address}"/>
- <arg value="--no-prompt"/>
+ <arg value="--no-console"/>
<arg value="-w"/>
</java>
</target>
</project>