Mathematica debugging tools
I am using Mathematica to model a spectral graphs and I keep encountering bugs. What tools does Mathematica provide to debug? The documentation was quite unhelpful.
I set break points using print statements:
Initialize of matrix, Calculation of eigenvalues, Assignment of graph. Output.
You can
Trace documentation
Tutorial introduction to Trace
You can give Trace
directions on what to include and what not to in output.
Almost always click on the orange "Details and Options" in documentation to see the information you need to successfully use the function.
Learning how to interpret the form of the output from Trace
can take some work.
上一篇: Mathematica演示模式
下一篇: Mathematica调试工具