"Backtrace" redirects here. For the 2018 film, see Backtrace (film).
In computing, a stack trace (also called stack backtrace[1] or stack traceback[2]) is a report of the active stack frames at a certain point in time during the execution of a program. When a program is run, memory is often dynamically allocated in two places: the stack and the heap. Memory is continuously allocated on a stack but not on a heap, thus reflective of their names. Stack also refers to a programming construct, thus to differentiate it, this stack is referred to as the program's function call stack. Technically, once a block of memory has been allocated on the stack, it cannot be easily removed as there can be other blocks of memory that were allocated before it. Each time a function is called in a program, a block of memory called an activation record is allocated on top of the call stack. Generally, the activation record stores the function's arguments and local variables. What exactly it contains and how it's laid out is determined by the calling convention.
Programmers commonly use stack tracing during interactive and post-mortem debugging. End-users may see a stack trace displayed as part of an error message, which the user can then report to a programmer.
A stack trace allows tracking the sequence of nested functions called - up to the point where the stack trace is generated. In a post-mortem scenario this extends up to the function where the failure occurred (but was not necessarily caused). Sibling calls do not appear in a stack trace.
^"libc manual: backtraces". gnu.org. Retrieved 8 July 2014.
^"traceback — Print or retrieve a stack traceback". python.org. Retrieved 8 July 2014.
In computing, a stacktrace (also called stack backtrace or stack traceback) is a report of the active stack frames at a certain point in time during the...
known as an execution stack, program stack, control stack, run-time stack, or machine stack, and is often shortened to simply "the stack". Although maintenance...
Look up Trace, trace, traces, or tracing in Wiktionary, the free dictionary. Trace may refer to: Trace (Son Volt album), 1995 Trace (Died Pretty album)...
event but may extract some information about its state like getting a stacktrace, processor register values, the line of the source code when it was triggered...
various tools are used to inspect the state of the program or alter it. Stacktrace of each thread may be used to see the chain of function calls that led...
a debugger or collect important information, such as a core dump or stacktrace, to diagnose the root cause of the error. In a language that supports...
BlueStacks App Player enables the execution of Android applications on computers running Microsoft Windows or macOS. The company's establishment traces back...
simple and lightweight tasks with limited use of the call stack) Trace support through generic trace macros. Tools such as Tracealyzer, a commercial tool by...
mismatched memory, allocation and deallocation, stack memory checks, and stacktrace with controllable stacktrace depth. Intel Inspector finds these errors...
subtle difference is the moment a stacktrace is created when an exception is being thrown. In Java, the stacktrace is created in the moment the exception...
development / testing environments. Crash reports often include data such as stacktraces, type of crash, trends and version of software. These reports help software...
Debugging Tools for Windows are used. A debugger is necessary to obtain a stacktrace, and may be required to ascertain the true cause of the problem; as the...
words. Most IMP compilers offer compiler-generated runtime checks and a stacktrace (backtrace) facility by default, even in production code. IMP allows...
is 0 or 1 depending on which core crashed) along with a core dump and stacktrace. VirtualBox uses the term "Guru Meditation" for severe errors in the...
provides the Linux triage tools which group crashing inputs by the produced stacktrace and lists each group according to their probability to be exploitable...
window, which lists all the threads, hovering over a thread displays the stacktrace of that thread in tooltips. The threads can directly be named and flagged...
OpenStack is a free, open standard cloud computing platform. It is mostly deployed as infrastructure-as-a-service (IaaS) in both public and private clouds...
initializing a trace exception handler on a 68000 system. InstallHandler: MOVE.L #$4E730000,-(SP) ; Push trace exception handler on to stack MOVE.L #$00000010...
enhancement (for openurl) Packaging multiple libraries in an ANE (iOS) Debug stacktrace in release builds of Flash Player Statically link DRM (desktop only)...
have its own set of exceptions. The one interested in cause can see its stacktrace during debugging or in proper log. Throwing the right kind of exceptions...
implicitly in the call stack. Depth-first search is easily implemented via a stack, including recursively (via the call stack), while breadth-first search...
Sons. p. 91. ISBN 978-0-470-74458-1. Marlow, Simon. "Why can't I get a stacktrace?". Haskell Implementors Workshop 2012. Retrieved 25 August 2021. Nilsson...
only a single stack can be used at any time: switching usually requires uninstalling the current stack, although a trace of previous stacks remains in the...