WinDbg .for loop
Posted
by Scott
on Stack Overflow
See other posts from Stack Overflow
or by Scott
Published on 2009-11-17T15:41:28Z
Indexed on
2010/03/12
0:37 UTC
Read the original article
Hit count: 934
WinDbg
I am having trouble getting the WinDbg .for command to work.
I would like to dump an array of c++ structs.
?? gpTranData->mpApplCodes[0]
works for a single entry but I would like to loop through n of these.
.for ($t0=0;$t0<(gpTranData->miApplCodeCount);$t0++){ ?? &gpTranData->mpApplCodes[$t0] }
sound logical to me but I get
Numeric expression missing from '>miApplCodeCount);$t0++){ ?? &gpTranData->m_pApplCodes[$t0] }'
Any ideas?
Scott
© Stack Overflow or respective owner