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

Finding symbols for C++ source file

0 views
Skip to first unread message

Bin Chen

unread,
Oct 26, 2009, 10:57:21 PM10/26/09
to
Hi,

I have a project that is C++ WIN32 project. I found a problem that
some symbol can be recognized by the windbg but some don't. I don't
know why.
The characteristics are:

1) both are C++ method
2) both function are in one .cpp file
3) the two functions are very close in the source file and neither of
them are enclosed by a #ifdef
4) I have used dbh.exe to check the symbol, the symbol missing in the
windbg is also not in the pdb file.

I am guessing if the symbol missing may due to the inheritance of the
class?

Please suggest, thanks!

Bin

pat styles [microsoft]

unread,
Oct 28, 2009, 1:09:41 AM10/28/09
to Bin Chen
Hello Bin.

Have you tried renaming the symbol you can't see to something obvious
like LOOKATME and then using dbh with this command?

x *LOOKATME*

If that doesn't work, email me the pdb and tell me the symbol names.

.pat styles [microsoft]

pat styles [microsoft]

unread,
Oct 29, 2009, 8:05:00 PM10/29/09
to Bin Chen
After some followup, we discovered that the item in question was
optimized out of the compiled code because it was never called.

.pat styles [microsoft]

0 new messages