Forum Discussion
ChrisH
15 years agoOccasional Contributor
You could try wrapping your function call inside a log folder. The error message from within that function call would tell you what went wrong, but to navigate to the originating function you'd double-click on the log folder in the log rather than on the actual error message, if you see what I mean.
JScript:
Log.Append("Test case 1...");
OtherFunction(data);
Log.PopLogFolder();
Log messages in "OtherFunction" will be grouped together. If you double-click the "Test case 1..." item in the log it takes you back to the code above, rather than the bit inside "OtherFunction" where the error occurred.
JScript:
Log.Append("Test case 1...");
OtherFunction(data);
Log.PopLogFolder();
Log messages in "OtherFunction" will be grouped together. If you double-click the "Test case 1..." item in the log it takes you back to the code above, rather than the bit inside "OtherFunction" where the error occurred.
Related Content
- 2 months agoNicolaFilosa_SE
- 5 years agoAurore
Recent Discussions
- 5 hours agoSubhraDas