Subj : RE: Use org.mozilla.javascript.tools.debugger in application which is embedding Rhino? To : netscape.public.mozilla.jseng From : Merten Schumann Date : Wed May 26 2004 11:59 am Removing the System.setIn/setOut/setErr stuff solved my problems. Now I can debug the scripts in my application, that's fine! Had some problems in building Rhino including the debugger, some classes (like JTreeTable, AbstractCellEditor) seems to be external stuff or so .... Thanx alot, Igor! Merten > -----Original Message----- > From: mozilla-jseng-admin@mozilla.org > [mailto:mozilla-jseng-admin@mozilla.org] On Behalf Of Igor Bukanov > Sent: Tuesday, May 25, 2004 2:30 PM > To: mozilla-jseng@mozilla.org > Subject: Re: Use org.mozilla.javascript.tools.debugger in > application which is embedding Rhino? > > Merten Schumann wrote: > > I do start the debugger in a Runable and it appears. > > It shows my first script and another window appears with the console > > when the first script is done. > > If you do not need the console window which also capture > System.err and > System.out, then you can copy the source of > org.mozilla.javascript.tools.debugger.Main.main into your application > and remove console initialization calls there. It may also help to > resolve the second issue. > > Regards, Igor > > > > > But then it seems my application will not continue to work. > I was able > > to break when my first script was to be executed, but then my > > application sits there and no further things seem to happen > ... What the > > program does is to execute a test frame using Junit. Maybe some > > threading issues with JUnit or so. Ok, I think I have to investigate > > things here, maybe I can find out via my Java Debugger where my > > application sits around ... > _______________________________________________ > mozilla-jseng mailing list > mozilla-jseng@mozilla.org > http://mail.mozilla.org/listinfo/mozilla-jseng > .