6
$\begingroup$

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?

$\endgroup$

1 Answer 1

4
$\begingroup$

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.

$\endgroup$

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.