1.

__________ prints out the function call stack after an error occurs.(a) trace()(b) traceback()(c) back()(d) traback()The question was posed to me in an interview.The question is from Debugging Tools topic in portion Control Structures, Functions, Scoping Rules, Loop Functions and Debugging of R Programming

Answer»

Right choice is (B) traceback()

The best explanation: traceback() does nothing if there’s no ERROR. trace() INTERACTIVE tracing and debugging of calls to a FUNCTION or method.



Discussion

No Comment Found

Related InterviewSolutions