Simpler way I could reproduce this:
Open WebVelocity
load HelloWorld from library
with HelloWorld:
open in new tab,
open class Hello,
open source code
add breakpoint to renderContentOn:
In the base window now
load HelloWorld1 from library (sometimes I get the problem here
already)
open class Hello,
open source code
When I now inspect: WebVelocityCodeEditor.SourceCode.Pending I see
that HelloWorld >renderContentOn: show up twice and if I inspect the
second copy it has as package HelloWorld1.
Changing HelloWorld >renderContentOn: by taking away the space after
the header in the HelloWorld source code window produces the error.
(This works with any number of breakpoint methods in HelloWorld)
A little debugging showed that
when the component changes in the UI (by loading HelloWorld1) this
triggers WebVelocity.BreakpointsUI> componentChanged where there is a
call to:
WebVelocity.BreakpointsUI> getBreakpoints which has a call to:
"WebVelocity.SourceCode class>package:protocol:class:selector:"
which creates a new Source code object for every method with a
Breakpoint that it does not find under its own name in the
"WebVelocityCodeEditor.SourceCode.Pending" list and then adds this new
Source code object to this Pending list.
This Source code object gets added with the new component
(HelloWorld1) as package but is otherwise a copy of the original
breakpoint method (which in my case has HelloWorld as package).
Hope that you can reproduce this.
On Oct 27, 12:38 am, Michael Lucas-Smith