About 652,000 results
Open links in new tab
  1. c# - How to make a "Call stack diagram" - Stack Overflow

    Jun 14, 2012 · If your call graph turns out to be a tree, then you don't have a very interesting program because every function has exactly one caller. Either way, what you're looking for is never called a "call stack."

  2. Tools to get a pictorial function call graph of code - Stack Overflow

    Our DMS Software Reengineering Toolkit has static control/dataflow/points-to/call graph analysis that has been applied to huge systems (~~25 million lines) of C code, and produced such call graphs, including functions called via function pointers.

  3. Call stack - Wikipedia

    In computer science, a call stack is a stack data structure that stores information about the active subroutines and inline blocks of a computer program. This type of stack is also known as an execution stack, program stack, control stack, run-time stack, or machine stack, and is often shortened to simply the "stack".

  4. CS35: Stack Diagrams - Swarthmore College

    Function Calls. When we call a function, that function executes completely and then our program resumes from where we made the call. Any stack variables that the caller had at the time of the call are preserved; they still have their old values when the call is finished.

  5. Create a visual map of the call stack - Visual Studio (Windows)

    Mar 9, 2023 · Create a code map to visually trace the call stack while you're debugging. You can make notes on the map to track what the code is doing, so you can focus on finding bugs. For details of commands and actions you can use with code …

  6. Visualizing The Call Stack: Understanding Recursion Through Diagrams

    Sep 28, 2024 · Creating a visual representation of the call stack can help clarify how recursion works. Below is a diagram that illustrates the call stack during the execution of factorial (3). In this diagram, you can see how each function call adds a new frame to the stack.

  7. The Call Stack | Baeldung on Computer Science

    Mar 20, 2023 · The call stack, in particular, is a stack mainly purposed to organize multiple instructions and keep track of their execution. When our program calls a function the first thing the program compiler, interpreter, or system(depending on implementation) does is to set aside some chunk of memory for the function to do its necessary work.

  8. 4.9. Stack Diagrams for Recursive Functions — How to Think …

    Stack Diagrams for Recursive Functions¶ In the previous chapter we used a stack diagram to represent the state of a program during a function call. The same kind of diagram can make it easier to interpret a recursive function.

  9. StackExplorer was designed as a dynamic program visu-alization tool to reinforce the stack discipline as taught in existing introductory computer architecture courses.

  10. How exactly does the callstack work? - Stack Overflow

    Jun 2, 2014 · When a function call is made, function's arguments are PUSHed on stack. These arguments are further referenced by base pointer. When the function returns to its caller, the arguments of the returning function are POPed from the stack using LIFO method.

  11. Some results have been removed