Eclipse Manual and Conditional Breakpoints [message #18172] |
Wed, 21 August 2002 15:32  |
Eclipse User |
|
|
|
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 19:08  |
Eclipse User |
|
|
|
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 19:08  |
Eclipse User |
|
|
|
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
>
|
|
|
Powered by
FUDForum. Page generated in 0.03392 seconds