Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

Is it possible to set up a conditional break point in Wolfram Workbench? For example I want the code to stop if an index i is equal to a given value.

share|improve this question
    
you might consider posting this question in the new specialized site mathematica.stackexchange.com –  magma Apr 17 '12 at 9:17
    
Isn't it what I did ? –  Faysal Aberkane Apr 17 '12 at 13:13
add comment

1 Answer 1

up vote 6 down vote accepted

One way that works already is to put a break point inside an If statement.

If[condition,
   dummyInstruction;
];

And put a breakpoint at dummyInstruction. I don't know if something like this could be done without modifying the code in break point properties like in some other environments.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.