Validate Your Mathematica Code with this Handy Checker Tool

  • Context: Mathematica 
  • Thread starter Thread starter tgt
  • Start date Start date
  • Tags Tags
    Code Mathematica
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 3K views
tgt
Messages
519
Reaction score
2
Is there a function or way to check whether your code is correct? i.e like a complier in C where it tells you your errors?
 
Physics news on Phys.org


On the rare occasions I use it, I've found Mathematica already gives a lot of information regarding errors in code. Are you sure you've got the relevant preferences selected correctly?

The debugger also seems to be reasonably helpful if you're looking into code more deeply. (Although it's not, obviously, comparable to something like gdb.)