This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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>

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]