Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » WebTools Killed My Debugger
WebTools Killed My Debugger [message #33377] Tue, 27 July 2004 19:10 Go to next message
Eclipse UserFriend
Before I installed WebTools (IBM's version), I was able to have WebLogic
run internal to Eclipse by setting it up as a Java Application. I would
set the main class to "weblogic.Server", pass it the proper jvm arguments
and WebLogic would run inside of Eclipse. I could set breakpoints in any
java file being ran on the server. Now, when I run the same Debug
Application, if I set a breakpoint, it will make my webapp not respond and
it never hits the breakpoint. Somehow, WebTools is causing my debugger to
no longer perform as it once did. Has anyone seen this or have any way to
remedy? Thanks, Jeremy
Re: WebTools Killed My Debugger [message #33431 is a reply to message #33377] Tue, 27 July 2004 19:44 Go to previous messageGo to next message
Eclipse UserFriend
On Tue, 27 Jul 2004 23:10:28 +0000 (UTC), Jeremy Whitlock
<Jeremy_Whitlock@adp.com> wrote:

> Before I installed WebTools (IBM's version), I was able to have WebLogic
> run internal to Eclipse by setting it up as a Java Application. I would
> set the main class to "weblogic.Server", pass it the proper jvm arguments
> and WebLogic would run inside of Eclipse. I could set breakpoints in any
> java file being ran on the server. Now, when I run the same Debug
> Application, if I set a breakpoint, it will make my webapp not respond
> and
> it never hits the breakpoint. Somehow, WebTools is causing my debugger
> to
> no longer perform as it once did. Has anyone seen this or have any way
> to
> remedy? Thanks, Jeremy
>


Is that with JSP's? Or just Java files? If the former, I might have a wild
guess you could experiment with,
if you'd like. But I don't think what I'm about to say would effect
regular .java files, in which case
I'm not sure what the problem would be.

In the com.ibm.sse.editor.jsp plugin.xml file, you'll see a line as
follows:
class=" com.ibm.sse.editor.jsp.breakpointproviders.JavaStratumBreakp ointProvider:*jsp "

That "*jsp" part was added recently since found to help "debugging
performance" on some servers (well, at least one),
and we know we'll have to make that a "variable" someday depending on the
target server, but "hard coded" for now.
(It basically helps the debugger "pattern match" files to watch to see
when their class files have to be reloaded).
You could trying changng it "back" to just '*', instead of '*jsp' to see
if that helps (and remember, you *may* have to use -clean first time
launching eclipse after making this change. You will of course have to
remove all breakpoints and re-set them. This is mostly a "shot in the
dark" just for JSPs ... just an idea ... sorry I can't guess anything more
definitive.


I'm curious is this helps, or how weblogic server "mangles" its tranlated
JSP names, since we're just beginning to explore all the differnt ways
servers implement this -- and we already know some post-pend and some
pre-pend, so may not be a single pattern that works for all.
Re: WebTools Killed My Debugger [message #33498 is a reply to message #33431] Tue, 27 July 2004 23:41 Go to previous messageGo to next message
Eclipse UserFriend
David Williams wrote:

> On Tue, 27 Jul 2004 23:10:28 +0000 (UTC), Jeremy Whitlock
> <Jeremy_Whitlock@adp.com> wrote:

> > Before I installed WebTools (IBM's version), I was able to have WebLogic
> > run internal to Eclipse by setting it up as a Java Application. I would
> > set the main class to "weblogic.Server", pass it the proper jvm arguments
> > and WebLogic would run inside of Eclipse. I could set breakpoints in any
> > java file being ran on the server. Now, when I run the same Debug
> > Application, if I set a breakpoint, it will make my webapp not respond
> > and
> > it never hits the breakpoint. Somehow, WebTools is causing my debugger
> > to
> > no longer perform as it once did. Has anyone seen this or have any way
> > to
> > remedy? Thanks, Jeremy
> >


> Is that with JSP's? Or just Java files? If the former, I might have a wild
> guess you could experiment with,
> if you'd like. But I don't think what I'm about to say would effect
> regular .java files, in which case
> I'm not sure what the problem would be.

> In the com.ibm.sse.editor.jsp plugin.xml file, you'll see a line as
> follows:
>
class=" com.ibm.sse.editor.jsp.breakpointproviders.JavaStratumBreakp ointProvider:*jsp "

> That "*jsp" part was added recently since found to help "debugging
> performance" on some servers (well, at least one),
> and we know we'll have to make that a "variable" someday depending on the
> target server, but "hard coded" for now.
> (It basically helps the debugger "pattern match" files to watch to see
> when their class files have to be reloaded).
> You could trying changng it "back" to just '*', instead of '*jsp' to see
> if that helps (and remember, you *may* have to use -clean first time
> launching eclipse after making this change. You will of course have to
> remove all breakpoints and re-set them. This is mostly a "shot in the
> dark" just for JSPs ... just an idea ... sorry I can't guess anything more
> definitive.


> I'm curious is this helps, or how weblogic server "mangles" its tranlated
> JSP names, since we're just beginning to explore all the differnt ways
> servers implement this -- and we already know some post-pend and some
> pre-pend, so may not be a single pattern that works for all.

David,
It's with *.jsp and *.java. I tried to debug a servlet and it will
just sit there and do nothing if there is a breakpoint in the servlet
where before WebTools, it would stop at the breakpoint for debugging. The
debugger's breakpoint is never met now that WebTools is installed.
Something is keeping the debugger from working and I'm not sure what it
could be. I do assure you that it's only been working like this, or not
working in my case, since I installed WebTools. Still works on an Eclipse
without WebTools. Thanks, Jeremy
Re: WebTools Killed My Debugger [message #34444 is a reply to message #33498] Thu, 29 July 2004 12:00 Go to previous messageGo to next message
Eclipse UserFriend
> David,
> It's with *.jsp and *.java. I tried to debug a servlet and it will
> just sit there and do nothing if there is a breakpoint in the servlet
> where before WebTools, it would stop at the breakpoint for debugging. The
> debugger's breakpoint is never met now that WebTools is installed.
> Something is keeping the debugger from working and I'm not sure what it
> could be. I do assure you that it's only been working like this, or not
> working in my case, since I installed WebTools. Still works on an Eclipse
> without WebTools. Thanks, Jeremy

Can anyone help? I am trying to get my company to drop IntelliJ and
debugging is crucial but so are the new functionalities provided by
WebTools. This is highly urgent as I have a presentation on August 16th.
Thanks, Jeremy
Re: WebTools Killed My Debugger [message #34647 is a reply to message #34444] Thu, 29 July 2004 15:38 Go to previous messageGo to next message
Eclipse UserFriend
Jeremy,

I'm the other half of the equation (David does JSP editing & breakpoints,
and I do the server/Tomcat tools), but I'm also stumped at this one. We
definitely don't do anything that should conflict with debugging, and this
code has shipped in WebSphere Studio, which has lots of other things that
integrate with the debugger without problems.

Do you have any other plugins on top of Eclipse v3.0 that might be
conflicting, and can you debug a regular Java application? Since the problem
sounds like a source locator issue, I'd try going to the Source tab of your
WebLogic Java launch configuration. If there is anything obviously wrong
(e.g. missing your project in the list of source) you can override it and
specify exactly which projects you do want on the source lookup path.
Hopefully this should get you around the problem.
Re: WebTools Killed My Debugger [message #34715 is a reply to message #34444] Thu, 29 July 2004 15:56 Go to previous messageGo to next message
Eclipse UserFriend
To clarify a few issues:

"Jeremy Whitlock" <Jeremy_Whitlock@adp.com> wrote in message
news:ceb6u3$ld7$1@eclipse.org...
> > where before WebTools, it would stop at the breakpoint for debugging.

(1) There is no WebTools release yet, so we are still "before WebTools". I
believe you mean "before I loaded the 'unsupported and acknowledge to have
issues' initial contribution from IBM". I thank you for finding issues with
the intial contributions but you must be aware (it's been said many times)
that the initial contributions are _unsupported_.

> Can anyone help? I am trying to get my company to drop IntelliJ and
> debugging is crucial but so are the new functionalities provided by
> WebTools. This is highly urgent as I have a presentation on August 16th.

(2) How about you helping? We'd love to get your help with the Web Tools
project. My philosophy is that Eclipse doesn't cost you any cash, but it's
not free - in order to get the maximum value from Eclipse, you need to
contribute your time to making the whole thing better. How about filing a
complete bugzilla entry for this, with all the details that a complete
bugzilla entry entails, including a reproducible test case? That would be a
very helpful contribution.

Thanks for your attention,
Bjorn
Re: WebTools Killed My Debugger [message #35219 is a reply to message #34715] Fri, 30 July 2004 11:24 Go to previous messageGo to next message
Eclipse UserFriend
> (1) There is no WebTools release yet, so we are still "before WebTools". I
> believe you mean "before I loaded the 'unsupported and acknowledge to have
> issues' initial contribution from IBM". I thank you for finding issues with
> the intial contributions but you must be aware (it's been said many times)
> that the initial contributions are _unsupported_.

Point taken. :)

> (2) How about you helping? We'd love to get your help with the Web Tools
> project. My philosophy is that Eclipse doesn't cost you any cash, but it's
> not free - in order to get the maximum value from Eclipse, you need to
> contribute your time to making the whole thing better. How about filing a
> complete bugzilla entry for this, with all the details that a complete
> bugzilla entry entails, including a reproducible test case? That would be a
> very helpful contribution.

I would love to help out with the Web Tools Project. I've already joined
the mailing list and I'm going to look through the code today. I will
also look into doing a bugzilla report as well. To give you and Tim a
little of information regarding his questions:

I can still debug .java files in another project. I am not sure where the
problem could be since I'm using the exact same debug application and
applicaiton setup to debug now. I've also never encountered the type of
actions I'm seeing now while debugging any application. Before going
further and posting a bugzilla report, I'm going to start with a fresh
Eclipse install, a fresh WebTools (And required libraries) install and
reimport my project. I could easily send anyone my .project and
classpath to give more insight as to how I have my system setup. I
appreciate your responses and I'll do my part to help us get past this.
Thanks, Jeremy
Re: WebTools Killed My Debugger [message #35221 is a reply to message #34647] Fri, 30 July 2004 11:32 Go to previous messageGo to next message
Eclipse UserFriend
Tim deBoer wrote:

> Jeremy,

> I'm the other half of the equation (David does JSP editing & breakpoints,
> and I do the server/Tomcat tools), but I'm also stumped at this one. We
> definitely don't do anything that should conflict with debugging, and this
> code has shipped in WebSphere Studio, which has lots of other things that
> integrate with the debugger without problems.

> Do you have any other plugins on top of Eclipse v3.0 that might be
> conflicting, and can you debug a regular Java application? Since the problem
> sounds like a source locator issue, I'd try going to the Source tab of your
> WebLogic Java launch configuration. If there is anything obviously wrong
> (e.g. missing your project in the list of source) you can override it and
> specify exactly which projects you do want on the source lookup path.
> Hopefully this should get you around the problem.

Tim,
I fully agree that this is very wierd and probably not a regular
occurance. I will assist you in any way that I can. I can successfully
debug another project with .java files but they aren't being ran via
WebLogic. I have not changed JREs at all or WebLogic versions either. I
have all the same .jar files on the classpath and I have all the same
folders on the sourcepath. I would be glad to send you any files you'd
need, including screenshots, to help me in coming up with a remedy.
Thanks, Jeremy
Re: WebTools Killed My Debugger [RESOLVED] [message #35242 is a reply to message #35219] Fri, 30 July 2004 13:08 Go to previous messageGo to next message
Eclipse UserFriend
I reinstalled Eclipse, installed all WebTools' dependencies and WebTools
all from scratch. I then imported my project, setup my application for
debug and it's now working. Not sure what happened or could had happened
but this time, it worked. I'll be using my new install from now on and
I'll keep you all updated. Now that it's working, I can begin to dive
into the sourcebase and look around. I'm going to hit up bugzilla to see
if I can help out. Thanks, Jeremy
Re: WebTools Killed My Debugger [RESOLVED] [message #35410 is a reply to message #35242] Fri, 30 July 2004 14:44 Go to previous message
Eclipse UserFriend
> debug and it's now working.

Glad to hear it.

> Now that it's working, I can begin to dive
> into the sourcebase and look around. I'm going to hit up bugzilla to see
> if I can help out.

Thanks!
Previous Topic:webtools error
Next Topic:Problem with FTP
Goto Forum:
  


Current Time: Wed Jul 16 18:17:30 EDT 2025

Powered by FUDForum. Page generated in 0.25399 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top