Ernest Friedman-Hill wrote:Hi Ben,
As you can see, the answer to 'can I' is "yes" -- but the answer to 'how can I' depends entirely on what debugger (i.e., what development tools) you're using, which you neglected to mention. Let us know and somebody can probably tell you exactly what to do.
oops!! -- my bad!! I was totally meant to say I was using netbeans, but failed to get that into the post!
Anyway Ernesto Chicas comment helped me out. Dont know why i didnt try right clicking the breakpoint after setting it. I can then click "properties" and have a box where I can set the condition.
Thanks all!