From 2c56b463be8415458fd6a17484cd9bf07e095ef5 Mon Sep 17 00:00:00 2001 From: "SND\\EreTIk_cp" Date: Mon, 23 Apr 2012 08:23:12 +0000 Subject: [PATCH] [0.1.x] ~ print DIA symbol unique ID git-svn-id: https://pykd.svn.codeplex.com/svn@75727 9b283d60-5439-405e-af05-b73fd8c4d996 --- pykd/diaprint.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pykd/diaprint.cpp b/pykd/diaprint.cpp index 09c9f33..fe77533 100644 --- a/pykd/diaprint.cpp +++ b/pykd/diaprint.cpp @@ -95,6 +95,10 @@ std::string Symbol::printImpl( ULONGLONG ullValue; HRESULT hres; + hres = _symbol->get_symIndexId(&dwValue); + if (hres == S_OK) + sstream << "ID " << std::hex << dwValue << " "; + DWORD locType = LocIsNull; hres = _symbol->get_locationType(&locType); bool bLocation = (S_OK == hres);