What is the difference between the terms “Call Stack” and “Stack Trace” ?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
A call stack is typically “the current stack of operations” – i.e. while it’s running.
A stack trace is typically a copy of the call stack which is logged at some sort of failure, e.g. an exception.
In other words, while you’re debugging you will look at the current call stack – but when you look at logs, you’ll get a stack trace. At least, that’s my interpretation of the terms 🙂