|
Re: Breakpoint provider additional prefix [message #164285 is a reply to message #164250] |
Sun, 19 March 2006 02:42 |
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03135 seconds