Breakpoints not appearing on vertical ruler [message #285209] |
Wed, 11 May 2005 17:13 |
Eclipse User |
|
|
|
Originally posted by: andrew.softwaretheories.com
Hello to everyone,
I'm having a problem with breakpoints not appearing on the vertical ruler
that I'm hoping someone can help me with.
I'm extending Eclipse for a new programming language. I created a debug
target, et all, pretty much identical to the PDA example in the eclipse
articles (from http://www.eclipse.org/articles/ - How to write an Eclipse
debugger). This problem appears with the source code provide for the PDA
example as well.
The problem is that when a breakpoint is set, it appears in the breakpoint
list, but does not appear in the ruler in the text editor. It does however
appear in the ruler if the source document is closed and reopened. Then if
the breakpoint is deleted, the icon disappears, but does not appear again
when a breakpoint is added again.
I've created my own editor (which extends TextEditor) which basically does
nothing more than TextEditor. I tried adding an IBreakpointsListener to the
breakpoint manager, and calling
getVerticalRuler().update();
getVerticalRuler().getControl().redraw();
each time a breakpoint is changed/added/deleted, but this has no effect
either.
Again, this problem also appears for the PDA example - any ideas on how
to solve it?
Thank you in advance,
Andrew
|
|
|
Re: Breakpoints not appearing on vertical ruler [message #285216 is a reply to message #285209] |
Wed, 11 May 2005 19:37 |
Darin Swanson Messages: 2386 Registered: July 2009 |
Senior Member |
|
|
If I remember correctly this problem is solved by ensuring that you are
creating your breakpoints in an IWorkspaceRunnable.
See the AntLineBreakpoint (or any of the JDT Debug breakpoints) as an
example
HTH
Darins
"Andrew Szczeszynski" <andrew@softwaretheories.com> wrote in message
news:d5teui$rut$1@news.eclipse.org...
> Hello to everyone,
>
> I'm having a problem with breakpoints not appearing on the vertical
ruler
> that I'm hoping someone can help me with.
>
> I'm extending Eclipse for a new programming language. I created a debug
> target, et all, pretty much identical to the PDA example in the eclipse
> articles (from http://www.eclipse.org/articles/ - How to write an Eclipse
> debugger). This problem appears with the source code provide for the PDA
> example as well.
>
> The problem is that when a breakpoint is set, it appears in the
breakpoint
> list, but does not appear in the ruler in the text editor. It does
however
> appear in the ruler if the source document is closed and reopened. Then
if
> the breakpoint is deleted, the icon disappears, but does not appear again
> when a breakpoint is added again.
>
> I've created my own editor (which extends TextEditor) which basically
does
> nothing more than TextEditor. I tried adding an IBreakpointsListener to
the
> breakpoint manager, and calling
> getVerticalRuler().update();
> getVerticalRuler().getControl().redraw();
> each time a breakpoint is changed/added/deleted, but this has no effect
> either.
>
> Again, this problem also appears for the PDA example - any ideas on how
> to solve it?
>
> Thank you in advance,
> Andrew
>
>
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03593 seconds