Mathematica Stack Exchange is a question and answer site for users of Mathematica. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I create a breakpoint in Workbench 2 for an MUnit test, and run a debug build, the breakpoints are not breaking execution. The MUnit output is updated like a normal run without breakpoints. Why is this happening?

share|improve this question
up vote 4 down vote accepted

You have to set breakpoints in what is considered a source file, ie a .m package file. Breakpoints set within test or scrapbook files are not supported.

So you would have a test that executes a function defined in a package, set the breakpoint in the package, and when you debug the test, it will suspend.

share|improve this answer

Your Answer


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.