Skip to content
| Marketplace
Sign in
Visual Studio Code>Debuggers>Array Index Visual DebuggerNew to Visual Studio Code? Get it now.
Array Index Visual Debugger

Array Index Visual Debugger

Preview

nakaterm

|
9 installs
| (0) | Free
visually debug arrays alongside the variables that point to their indices.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Array Index Visual Debugger

This extension lets you visually debug arrays alongside the variables that point to their indices.

demo

Currently, it only works well with Python.

Usage

  1. Start a debug session.

  2. Open the command palette and run Array Index Visual Debugger: Open Panel.

  3. Enter the name of the array and select whether it's 1D or 2D.

    step3

  4. Enter the index variables you want to visualize. In 2D mode, you’ll need to specify whether each variable represents a row or a column index. (Note: The values you enter here are evaluated as expressions in the debugged program. If you enter an expression with side effects, those side effects will occur in the debuggee.)

    step4

  5. Step through your code (using the VS Code debug controls) — the panel will automatically highlight the positions in the array corresponding to the specified index variables.

    step5

  6. (Optional) In 2D mode, you can highlight specific cells by specifying combinations of row and column index variables.

    step6

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