New answers tagged

6

There is a fundamental problem with breakpoints and Mathematica: Mathematica code is not typically attached to a source code file. It simply exists in-memory as a set of transformation rules on expressions. These transformation rules can be created (among other ways) by: Loading a package file. In this case they correspond to the source code in the file. ...


9

I believe I've figured out the correct way to use breakpoints :D In short, Breakpoints can only be set on a non-atomic incomplete expression, Watchpoints can only be set on Symbol. …OK, maybe a bit too concise, let me elaborate a little. 1. Breakpoints must be set on an incomplete expression a = 1; Print[a] a - 1 The break point set on Print[a] won'...



Top 50 recent answers are included