8
$\begingroup$

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.

$\endgroup$
  • $\begingroup$ you might consider posting this question in the new specialized site mathematica.stackexchange.com $\endgroup$ – magma Apr 17 '12 at 9:17
  • $\begingroup$ Isn't it what I did ? $\endgroup$ – faysou Apr 17 '12 at 13:13
6
$\begingroup$

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.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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