Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X
You can submit your own idea or vote for existing ideas here: https://community.ptc.com/t5/Mathcad-Ideas/idb-p/PTCMathcadIdeas
I write pretty large programs - probably beyond what Prime is intended for. The debug facility is primitive. A few things that might be useful if you are very new to Prime:
1) Use the "return" command anywhere in the program where you think the error occurs, followed by the variables that you think might reveal the fault, such as: "return A,b,C, h(2,6)" .
2) The "try" command is helpful in bracketing a region of code where the bug may reside:
3) A bug in a program causes all the data to be lost. The "try" command is handy if you are running an iterative program and generating a lot of data for which you might have to wait a long time (days maybe). It allows you to harvest what has been generated via a return command if a bug occurs in the bracketed region. The downside is that the Error Tracing function won't reveal where the error is.
Thanks
GeoffD