Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

dt -a : displaying arrays question

919 views
Skip to first unread message

art

unread,
Nov 8, 2006, 4:56:00 PM11/8/06
to
I'm trying to use cdb to display an array that is right out of the
documentation, but it doesn't seem to be working:

0:000> dt -v local_doors
Got address 01117368 for symbol
struct DoorList, 3 elements, 0xc bytes
+0x000 entries : 0x08580510 struct DoorEntry, 15 elements,
0x60 bytes
+0x004 count : 10
+0x008 max : 16
0:000> dt local_doors -a3 entries
+0x000 entries : 0x08580510

It seems that 'dt local_doors -a3 entries' should show three elements
of the array. Am I missing something?

Thanks, in advance, for your help.

Ivan Brugiolo [MSFT]

unread,
Nov 9, 2006, 12:00:35 PM11/9/06
to
try
dt -a3 DoorEntry 0x08580510

--
--
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of any included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm


"art" <abr...@gmail.com> wrote in message
news:1163022960.3...@m73g2000cwd.googlegroups.com...

art

unread,
Nov 10, 2006, 3:25:21 PM11/10/06
to
That definitely works, I'm just lazy and was hoping I wouldn't have to
put the type in and type in the mem address.

I was hoping there was some way to get it to work they way windbg help
describes.

Thanks for the feedback!
Art

0 new messages