Visual Studio C ++ Debugger: no hex dump?

Why is the built-in debugger vs ... practically not working? I do not see the contents of the object in memory. For example, I work with bitmap images, and I would like to see them in my memory. Do I need a better debugger for this? If so, then I'm interested in recommendations. Nothing too powerful like a disassembler, just a debugger.

+7
c ++ debugging visual-studio
source share
5 answers

I never found it to be "barely functional." VS gives you a default disassembly when it cannot find the source, and it's pretty easy to get to the kind of memory. Debug-> Windows -> Memory. Enter "this" in the Address: field to get information about your current property. To view a specific element type '& this-> member_name'. It will go straight to the first byte.

+27
source share

Debugging | Windows | Memory | Memory1-4. Put the address of the memory block that you want to see in the address. This is probably the most complicated menu item that you will ever try to execute with the mouse (you'll see ...).

In older versions of VS, if you want to see the contents of a variable, you need to determine the address of the variable, I usually used a viewport.

However, in newer versions, you can often simply enter the variable name as the address, as in the viewport.

+2
source share

VS2005 has a memory tab that gives bytes of memory. I don't know exactly how to convince him to allocate hex blocks so you can tell you which variables are, though.

+1
source share

Debugging | Windows | The memory will allow you to look at any area of ​​memory that you want (depending on the process / access restrictions). This is in VS2005. It may be slightly different from the menu structure in other versions.

+1
source share

I don’t know if this is good, but a quick Google search for “displaying debugger memory as a bitmap image” Debugging raster memory that was designed to be used next to another debugger such as Visual Studio or WinDbg.

0
source share

All Articles