Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Stack UsageNew to Visual Studio Code? Get it now.
Stack Usage

Stack Usage

Timo Nachstedt

|
860 installs
| (0) | Free
Display gcc stack usage information.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Stack Usage

This Visual Studio Code extension allows you to display the per function stack usage analysis information produced by gcc for c++ projects next to the respective implementation.

Features

  • Display maximum amount of stack usage per function next to the function implementation.

Requirements

The source code must be compiled using gcc and the -fstack-usage flag. This will produce *.su files for every compiled unit which are read by the extension. To make the extension discover these files, a compile_commands.json or a link to it must be located at the root folder of your project.

Further Information:

  • Static Stack Usage Analysis with gcc
  • Generating compile_commands.json with CMake
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft