Re: Missing Session window
Nathan Fiedler <[email protected]> Sat, 25 Mar 2006 00:55:00 -0800
| Newsgroups | gmane.comp.java.jswat.user |
|---|---|
| Organization | Blue Marsh Softworks |
| Message-ID | <[email protected]> |
The messages.log file has proven how useful it can be. From the history I can see that previous versions of JSwat were running on JDK 1.5, then when you installed version 3.9, the JDK changed to 1.4 (as you mentioned below). When this occurred, the JSwat modules with Java code (all of which require Java 1.5) were automatically disabled by NetBeans. From that point onward, the modules were not reloaded, hence the debugger functionality was gone. The work-around is a two-step process, one of which you did earlier, by changing the netbeans_jdkhome property to point to the JDK 1.5 installation. The second step is to open the Module Manager (via Tools menu) and re-enable the JSwat modules (under "Debugging"). Then everything should return to normal. By deleting the .jswat directory, you removed the files in config/Modules which told NetBeans that the JSwat modules were disabled. Now the real cause of all of this is the JSwat installer. It does not attempt to determine the version of the JDK that is selected. It probably ought to do this and disallow use of anything earlier than 1.5.0. Thanks for the follow-up. It has been most helpful. n Scott Urman wrote: > Nathan Fiedler wrote: >> Which version of the JDK did you first try, before changing the >> jdkhome property to point to JDK 1.5? > > I first installed jswat with 1.4, and got errors saying that jswat > couldn't initialize all of the modules. So I reinstalled into the same > directory specifying a 1.5 JDK. > >> Are the Debugging modules enabled in the Module Manager (accessible >> from the Tools menu)? > > From what I remember, there weren't any debugging modules listed. > >> Are any of the other JSwat features working (i.e. the Breakpoint or >> Stepping menu, the debugging windows: classes, variables, threads)? > > The only thing I could do was browse Java files.