Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
windbgを使用して構造体をダンプするにはどうすればよいですか?dumpobjectに似たdumpstructコマンドはありますか?または、dumpobjectは構造体をダンプすることもできますか?
はい、!dumpvcコマンドを使用できます。 構造体にはオブジェクトヘッダーがないため、デバッガーはそのタイプを認識しないため、構造体のMethodTableアドレスを渡す必要があります。
!dumpvc
MethodTable
>!DumpVC <METHOD_TABLE_ADDRESS> <OBJECT_ADDRESS>