Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Cannot set breakpoints in 3.6(Cannot set breakpoints in 3.6 in inner classes)
Cannot set breakpoints in 3.6 [message #553046] Mon, 16 August 2010 08:54 Go to next message
t-dome is currently offline t-domeFriend
Messages: 5
Registered: July 2010
Junior Member
Hi,

setting breakpoints of any kind in inner or adjacent classes (for example, one public or protected class and another private class after it, in the same file) does not work. I have reverted to Eclipse 3.5 SR2 and it works there. The dark blue scope marking on the left editor bar when you put the cursor into an inner class also don't appear in 3.6.

Example: try to set a breakpoint in the constructor java.util.concurrent.FutureTask$Sync.ranOrCancelled(int).

Platform: Ubuntu 10.04 64 bit, Eclipse 3.6 "Java EE" edition 64 bit, Sun JDK 1.6.0_20 64 bit.

[Updated on: Mon, 16 August 2010 09:24]

Report message to a moderator

Re: Cannot set breakpoints in 3.6 [message #553348 is a reply to message #553046] Tue, 17 August 2010 08:43 Go to previous messageGo to next message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
t-dome wrote:
> Hi,
>
> setting breakpoints of any kind in inner or adjacent classes (for
> example, one public or protected class and another private class after
> it, in the same file) does not work. I have reverted to Eclipse 3.5
> SR2 and it works there. The dark blue scope marking on the left editor
> bar when you put the cursor into an inner class also don't appear in 3.6.
>
> Example: try to set a breakpoint in the constructor
> java.util.concurrent.FutureTask$Sync.Sync(Callable<V>).
I can reproduce the problem but also in 3.5.x. See
https://bugs.eclipse.org/bugs/show_bug.cgi?id=322880

Dani
>
> Platform: Ubuntu 10.04 64 bit, Eclipse 3.6 "Java EE" edition 64 bit,
> Sun JDK 1.6.0_20 64 bit.
Re: Cannot set breakpoints in 3.6 [message #553388 is a reply to message #553348] Tue, 17 August 2010 11:38 Go to previous message
t-dome is currently offline t-domeFriend
Messages: 5
Registered: July 2010
Junior Member
In 3.5, when you click in the outline on the Sync(...) constructor and select "Toggle Breakpoint", a breakpoint with the class' name appears in the breakpoint view, but no "bubble" in the source code. Sometimes it works... Also, it seems to be better if you go on the first line in the constructor and select Run -> Toggle Line Breakpoint instead of putting a method breakpoint.

But in 3.6, I can never set any breakpoint but in the outermost public/protected/package-private class.
Previous Topic:Key bindings not working in Eclipse
Next Topic:SWT add-on to Eclipse
Goto Forum:
  


Current Time: Fri Apr 26 18:31:17 GMT 2024

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

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

Back to the top