Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Technology Project and PMC » Eclipse Manual and Conditional Breakpoints
Eclipse Manual and Conditional Breakpoints [message #18172] Wed, 21 August 2002 19:32 Go to next message
Eclipse UserFriend
Originally posted by: toddh.lucent.com

Hello,

I came across Eclipse purely by accident one day and have been an avid
user of this cool tool. It has improved my productivity in terms of
testing Java code. There's one thing that I really have a beef about:

Poorly written Eclipse documentation! (but what else is new with
documentation elsewhere? :) )

I'm trying to figure out how to set a conditional breakpoint for a boolean
variable. I'm trying to set it like so:

fooBool == true

But Eclipse halts at that breakpoint saying that it's invalid and I need
to edit it. I have tried several ways to get Eclipse to work with boolean
variables in the conditional breakpoint, but all to no avail.

The documentation online, in the tool, on google, and here (haven't found
it yet...) do not have a list of possible conditionals, and for which Java
data types the breakpoints will work with (it does not work with a
variable within a class like so: fooClass.Status > 304) and how to
implement these.

So does anybody on this newsgroup (let me know if this is the wrong
newsgroup to ask this question and I'll take my question elsewhere. :) )
know the answer to my simple question?

Thanks!
Todd
Re: Eclipse Manual and Conditional Breakpoints [message #18208 is a reply to message #18172] Wed, 21 August 2002 23:08 Go to previous message
Eclipse UserFriend
Originally posted by: bob.objfac.com

Hi Todd,

It's the wrong newsgroup. Try the eclipse.tools newsgroup. (I know, the
names are misleading.)

Having said that, I would have expected just plain

fooBool

to work. I have used this feature and whatever you would type in an if
clause has seemed to work.

Bob

"Todd Hlavacek" <toddh@lucent.com> wrote in message
news:ak0psh$iph$1@rogue.oti.com...
> Hello,
>
> I came across Eclipse purely by accident one day and have been an avid
> user of this cool tool. It has improved my productivity in terms of
> testing Java code. There's one thing that I really have a beef about:
>
> Poorly written Eclipse documentation! (but what else is new with
> documentation elsewhere? :) )
>
> I'm trying to figure out how to set a conditional breakpoint for a boolean
> variable. I'm trying to set it like so:
>
> fooBool == true
>
> But Eclipse halts at that breakpoint saying that it's invalid and I need
> to edit it. I have tried several ways to get Eclipse to work with boolean
> variables in the conditional breakpoint, but all to no avail.
>
> The documentation online, in the tool, on google, and here (haven't found
> it yet...) do not have a list of possible conditionals, and for which Java
> data types the breakpoints will work with (it does not work with a
> variable within a class like so: fooClass.Status > 304) and how to
> implement these.
>
> So does anybody on this newsgroup (let me know if this is the wrong
> newsgroup to ask this question and I'll take my question elsewhere. :) )
> know the answer to my simple question?
>
> Thanks!
> Todd
>
Re: Eclipse Manual and Conditional Breakpoints [message #573367 is a reply to message #18172] Wed, 21 August 2002 23:08 Go to previous message
Eclipse UserFriend
Originally posted by: bob.objfac.com

Hi Todd,

It's the wrong newsgroup. Try the eclipse.tools newsgroup. (I know, the
names are misleading.)

Having said that, I would have expected just plain

fooBool

to work. I have used this feature and whatever you would type in an if
clause has seemed to work.

Bob

"Todd Hlavacek" <toddh@lucent.com> wrote in message
news:ak0psh$iph$1@rogue.oti.com...
> Hello,
>
> I came across Eclipse purely by accident one day and have been an avid
> user of this cool tool. It has improved my productivity in terms of
> testing Java code. There's one thing that I really have a beef about:
>
> Poorly written Eclipse documentation! (but what else is new with
> documentation elsewhere? :) )
>
> I'm trying to figure out how to set a conditional breakpoint for a boolean
> variable. I'm trying to set it like so:
>
> fooBool == true
>
> But Eclipse halts at that breakpoint saying that it's invalid and I need
> to edit it. I have tried several ways to get Eclipse to work with boolean
> variables in the conditional breakpoint, but all to no avail.
>
> The documentation online, in the tool, on google, and here (haven't found
> it yet...) do not have a list of possible conditionals, and for which Java
> data types the breakpoints will work with (it does not work with a
> variable within a class like so: fooClass.Status > 304) and how to
> implement these.
>
> So does anybody on this newsgroup (let me know if this is the wrong
> newsgroup to ask this question and I'll take my question elsewhere. :) )
> know the answer to my simple question?
>
> Thanks!
> Todd
>
Previous Topic:Newbie: Couple questions about Eclipse
Next Topic:Error occurred during initialization of VM
Goto Forum:
  


Current Time: Thu Apr 18 09:58:53 GMT 2024

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

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

Back to the top