No tedious setting breakpoints and play/resume ten times to see the loop you want. Tracing makes it easy to see what loops are doing.
...
Code Block | ||
---|---|---|
| ||
void APPrepeatSentence(const BASstring& Sentence){ BAS_FUNCTION(APPrepeatSentence); BAS_VAR(Sentence); BASstring Result; BAS_TRC("About to print hello world..."); for (int i=0; i < 4; i++){ BAS_VAR(i); Result = Result + Sentence + "\n"; } BAS_HEX("Result", Result.data(), Result.size()); BASout << Result; } |
With a graphical debugger it is a much more tedious process of having manually step through and set breakpoints and so on which all has quite a high learning curve. With tracing one never has to learn that.