Subj : Re: Use org.mozilla.javascript.tools.debugger in application which To : netscape.public.mozilla.jseng From : Igor Bukanov Date : Tue May 25 2004 10:35 am Merten Schumann wrote: > Hello, > > found some way old discussions about this topic. It seems, the Debugger from > org.mozilla.javascript.tools.debugger > cannot really be used in an application which uses embedded Rhino, right? I > mean, I have to load scripts on my own from a database, then I do use > Context.evaluateString() to execute the script. Is it possible to let the > Rhino Debugger debug this script? I think for that I would have to write my > own debugger using the Debugger API, have I? > No. As the simplest solution you can call org.mozilla.javascript.tools.debugger.Main.main(new String[0]); before compilation/evaluating of any script in your application. Regards, Igor .