Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Breakpoint provider additional prefix
Breakpoint provider additional prefix [message #164250] Fri, 17 March 2006 17:08 Go to next message
Ianko Jeliazkov is currently offline Ianko JeliazkovFriend
Messages: 1
Registered: July 2009
Junior Member
I am trying to adapt the debug client part of Eclipse to work with our own
J2EE server. In org.eclipse.jst.jsp.ui plugins there is a breakpoint
provider (JavaStratumBreakpointProvider) being registered within the
plugin.xml. There I saw that a prefix and a suffix are hardcoded which are
passed over to the provider at its initialization.
Our server has different type of servlet name, generated from the
corresponding jsp file and therefore different prefix. So the java stratum
breakpoint could not be installed in the appropriate class.

My question is if someone has coped with such a problem or knows how to
introduce a new prefix or suffix to the default Eclipse breakpoint
provider implementation?
Re: Breakpoint provider additional prefix [message #164285 is a reply to message #164250] Sun, 19 March 2006 02:42 Go to previous message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4435
Registered: July 2009
Senior Member

Ian wrote:
> I am trying to adapt the debug client part of Eclipse to work with our
> own J2EE server. In org.eclipse.jst.jsp.ui plugins there is a breakpoint
> provider (JavaStratumBreakpointProvider) being registered within the
> plugin.xml. There I saw that a prefix and a suffix are hardcoded which
> are passed over to the provider at its initialization.
> Our server has different type of servlet name, generated from the
> corresponding jsp file and therefore different prefix. So the java
> stratum breakpoint could not be installed in the appropriate class.
>
> My question is if someone has coped with such a problem or knows how to
> introduce a new prefix or suffix to the default Eclipse breakpoint
> provider implementation?

Just to clarify it's not an Eclipse mechanism, it's particular to
WTP since we allow editing of files containing multiple content
types, each of which could have multiple kinds of breakpoints
associated with them. The prefix and suffix you're seeing now
evolved as we tried debugging on different servers and found that a
too general class name pattern could easily cause severe performance
problems for the server. We haven't solved the problem of making it
extensible, yet, and there haven't been any contributions addressing
the problem so far. For now, please open a bug against the jst.jsp
component requesting an enhancement adding the prefix/suffix you need.

--
- Nitin


_
Nitin Dahyabhai
Eclipse Web Tools Platform
Previous Topic:Adding item to JSP popup Menu - what TargetId?
Next Topic:WTP 1.0.1 Tomcat Lifecycle - How does it all work?
Goto Forum:
  


Current Time: Thu Apr 25 08:04:00 GMT 2024

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

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

Back to the top