Two breakpoints on the same method (but different conditions) [message #222438] |
Wed, 18 January 2006 17:04  |
Eclipse User |
|
|
|
Originally posted by: zuma.bogus.net
Hello,
Is am installing (programmatically) two conditional breakpoints on the same
method with different conditions. I see that the breakpoint manager adds
them, but only the last one is being handled.
Is it possible at all to have two conditional breakpoints on the same
method? Where does the restriction, which I am hitting upon lays in the java
debug framework or in jdt?
Thanks for any input.
Z.
|
|
|
Re: Two breakpoints on the same method (but different conditions) [message #226360 is a reply to message #222438] |
Wed, 22 March 2006 22:36  |
Eclipse User |
|
|
|
Out of curiosity, can you just use one conditional breakpoint with an ||
condition?
So, instead of:
Breakpoint 1: return condition1;
Breakpoint 2: return condition2;
Can you instead use:
Breakpoint 1: return condition1 || condition2;
I know that from a visual control standpoint, two breakpoints would
cause problems... I'd also wonder if Eclipse would be expected to
perform an 'and' style check on these two breakpoints, or an 'or' style
check.
Regards,
R.J.
zuma wrote:
> Hello,
>
> Is am installing (programmatically) two conditional breakpoints on the same
> method with different conditions. I see that the breakpoint manager adds
> them, but only the last one is being handled.
>
> Is it possible at all to have two conditional breakpoints on the same
> method? Where does the restriction, which I am hitting upon lays in the java
> debug framework or in jdt?
>
> Thanks for any input.
>
> Z.
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.15586 seconds