Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Watch Expressions With AddressNew to Visual Studio Code? Get it now.
Watch Expressions With Address

Watch Expressions With Address

Kurikal

|
13 installs
| (0) | Free
Quickly add variables with addresses to the Watch panel in VS Code debugging.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Add to Watch with Address Extension

Description

This Visual Studio Code extension allows users to quickly add variables to the Watch panel while debugging. It works both from the Debug Variables Context Menu and by selecting variables directly in the editor.

Features

  • Right-click on a variable in the Debug Variables panel and select "Add to Watch with Address" to track its memory address.
  • Highlight a variable in the editor, then use the command to add it to the Watch panel.
  • Supports C/C++ debugging and other languages with evaluation support.

Installation

  1. Clone this repository or download the extension.
  2. Run npm install to install dependencies.
  3. Start the extension in a development environment using F5 in VS Code.
  4. (Optional) Package the extension with vsce package and install it manually.

Usage

  1. Start a debugging session in VS Code.
  2. Right-click a variable in the Debug Variables panel and select "Add to Watch with Address" (if available).
  3. Alternatively, select a variable in the editor and use the command from the Command Palette (Ctrl + Shift + P).
  4. The variable will appear in the Watch panel with its memory address.

Development & Contribution

  • Modify extension.ts to improve functionality.
  • Run npm run watch to compile changes in real-time.
  • Open a pull request to contribute improvements.

License

MIT License

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft