Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Doubleclick doesn't set a breakpoint
Doubleclick doesn't set a breakpoint [message #333373] Sat, 06 December 2008 11:31 Go to next message
Thomas Wiedmann is currently offline Thomas WiedmannFriend
Messages: 69
Registered: July 2009
Member
Hello,

currently Eclipse (I use version 3.2.2) doesn't set a breakpoint for
debugging when I doubleclick at the left border of the code editor within a
method. Some weeks ago it still worked. I have no idea, what may have
happened and changed, that on doubleclick Eclipse doesn't set the breakpoint
anymore. Fortunately I can still set the breakpoint by the context function
Toggle Breakpoint.

What may be the reason, that Eclipse doesn't set a breakpoint after a
doubleclick?
How to resolve the problem?

Thomas Wiedmann
Re: Doubleclick doesn't set a breakpoint [message #333374 is a reply to message #333373] Sun, 07 December 2008 07:48 Go to previous messageGo to next message
Remy Suen is currently offline Remy SuenFriend
Messages: 462
Registered: July 2009
Senior Member
Thomas Wiedmann wrote:
> currently Eclipse (I use version 3.2.2)

I'd suggest using a more recent version personally...

> doesn't set a breakpoint for
> debugging when I doubleclick at the left border of the code editor
> within a method.

Does Ctrl+Shift+B work? Personally, I use that instead of clicking on
the border.

Remy
Re: Doubleclick doesn't set a breakpoint [message #333376 is a reply to message #333373] Mon, 08 December 2008 03:04 Go to previous messageGo to next message
Walter Harley is currently offline Walter HarleyFriend
Messages: 847
Registered: July 2009
Senior Member
Thomas Wiedmann wrote:
> Hello,
>
> currently Eclipse (I use version 3.2.2) doesn't set a breakpoint for
> debugging when I doubleclick at the left border of the code editor
> within a method. Some weeks ago it still worked. I have no idea, what
> may have happened and changed

Sometimes Eclipse seems to get confused (or at least I get confused)
when the linkage between binary and source gets messed up - for
instance, if the same source file exists in two different projects, or
if a type is coming from a .jar file rather than from the compiled
output of the project containing the source file you're looking at.

Is it possible that you added a jar file, containing the type in
question, to the classpath?
Re: Doubleclick doesn't set a breakpoint [message #333382 is a reply to message #333373] Mon, 08 December 2008 13:48 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse-news.rizzoweb.com

On 12/6/2008 6:31 AM, Thomas Wiedmann wrote:
> Hello,
>
> currently Eclipse (I use version 3.2.2) doesn't set a breakpoint for
> debugging when I doubleclick at the left border of the code editor
> within a method. Some weeks ago it still worked. I have no idea, what
> may have happened and changed, that on doubleclick Eclipse doesn't set
> the breakpoint anymore. Fortunately I can still set the breakpoint by
> the context function Toggle Breakpoint.
>
> What may be the reason, that Eclipse doesn't set a breakpoint after a
> doubleclick?
> How to resolve the problem?

First I'd recommend upgrading to the latest version. You might be
running into this bug, which has been fixed:
https://bugs.eclipse.org/239317 (you'd see the NPE in your Error Log, if
that is the problem).

Hope this helps,
Eric
Previous Topic:Catch every mouse click
Next Topic:Console View - default console displayed setting
Goto Forum:
  


Current Time: Fri Apr 26 08:41:08 GMT 2024

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

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

Back to the top