Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a debug memory window in VSCode?

I'm debugging a C++ program and cannot find a debug memory window in VSCode. In Visual Studio that debug window is accessible via: Debug -> Windows -> Memory.

Is there such a feature in VSCode and how do we access it?

like image 585
Rent Treznor Avatar asked Jul 27 '26 14:07

Rent Treznor


1 Answers

Memory view is available in VS Code. See: Viewing and editing binary data

Here's how I use it when debugging:

  1. Obtain the address of a variable by adding &var to the "WATCH" panel;
  2. Click the binary icon following the address, and the memory view will pop up.
like image 104
Zichen Wang Avatar answered Jul 29 '26 04:07

Zichen Wang



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!