Re: Debugging with JDEE
Peter Su <[email protected]>
| Newsgroups | gmane.emacs.jdee |
|---|---|
| Message-ID | <[email protected]> |
Jeffrey Phillips: First Thanks you for answer my question! But i can debug a tomcat's HelloWorld servlet example in my current env setting, and copy my webwork program into the env , then webwork's Action class couldn't be debugged. waiting for your answer. thanks. Peter From: "Jeffrey Phillips" <[email protected]> Subject: Re: Debugging with JDEE Date: Fri, 23 Jun 2006 10:26:15 -0400 > > The advantage of jdb is of course it's fully integrated into > jdee-emacs so you are debugging the same code that you are editing, > versus jswat which is launched application. > > Even though jswat is launched, the source paths and classpaths are > passed to the launched > application based on the jdee project file. This is better than > starting jswat stand-alone and adding all this manually. > > jswat has a lot more options, such as being able to skip classes > during debug. But at the end of the day it's if you like debugging > in-line or launching debugger. > > Not sure about webworks issues, but since both jdb and jswat are jpda > debuggers ,whatever issues you have may exist in both environments. I > will say that if you do have > a problem it's probably an environmental setting and nothing to do > with webworks. > > On 6/23/06, Peter Su <[email protected]> wrote: > > > > jeffrey: > > Compare JSwat with JDEE's debugger, whether JSwat support better on J2EE application? Now i can't debug webwork's Action class, would JSwat solve it? > > thanks. > > > > Peter > > > > From: "Jeffrey Phillips" <[email protected]> > > Subject: Re: Debugging with JDEE > > Date: Fri, 23 Jun 2006 00:29:02 -0400 > > > > > Nascif- > > > > > > I am a longtime jdb user, but decided to give jswat a try on your advice. > > > > > > As you mentioned, your jswat.el works with jswat 2.39. I took a very > > > quick stab at changing your file for jswat 3 that I just downloaded. > > > I also added some logic to either use jde-run-application-class if > > > defined, otherwise prompt for transport and port of a jvm running in > > > debug mode for j2ee debuggers out there. > > > > > > I attached the updated jswat.el file for others to use. Again, it was > > > a _make it work and see jdee-jswat integration_ set of changes; and no > > > regression testing. > > > > > > Thanks, > > > -jeffrey > > > > > > On 6/22/06, Nascif Abousalh-Neto <[email protected]> wrote: > > > > The integration with JSwat works well, it is my debugging setup of choice. > > > > As Javier said it just launches the debugger from Emacs - but it uses your current project configuration, so it saves you the steps of configuring classpaths, sourcepaths, etc... > > > > > > > > Note that I have not updated it to the current version of JSwat that is based on NetBeans. > > > > The most recent JSwat version it has been tested against is 2.39. > > > > > > > > You can get the JSwat integration at http://www.emacswiki.org/cgi-bin/wiki/jswat.el > > > > > > > > /Nascif > > > > > > > > >