Local variables do not match dump

0 Likes

Problem:

SoftICE BUG: The values of variables in the locals window does not show the same values as a direct dump of the variables memory area.

I'm debugging a VC - compiled NDIS-driver and watching a pointer to an NDIS_PACKET.

Exampel: PNDIS_PACKET pPacket;

--- Assigning the packet pointer ---

When following this pointer to the NDIS_PACKET the locals window does not show the right contents of the NDIS_PACKET-structure.

When doing a dump of the whole NDIS_PACKET the dump shows the right memory contents...

Resolution:

Be sure to relink with Separate types OFF (>= VC 5.0).  Everything will synch up after you do this.

Old KB# 11738
Comment List
Anonymous
Related Discussions
Recommended