Microsoft Symbol Server

Hi,
If anyone has been working with Symbol Server, it is used to debug Release versions of Microsoft products including Windows 2000 and XP. It has built in support in debugging tools. I know that it contains symbols, that microsft may have extraced during comiling of the their applications, but I am still confused how it works. How a debugger binds symbol from this server to released application that only has addresses in it.

Thank you,
mudassir.

My Weblog:http://www.livejournal.com/users/mudassir


Yahoo! FareChase - Search multiple travel sites in one click.

mudassir wrote:

,
If anyone has been working with Symbol Server, it is used to debug
Release versions of Microsoft products including Windows 2000 and XP.
It has built in support in debugging tools. I know that it contains
symbols, that microsft may have extraced during comiling of the their
applications, but I am still confused how it works. How a debugger
binds symbol from this server to released application that only has
addresses in it.

The symbol files were built at the same time the driver was built. The
linker knows that PsMyFavoriteFunction was placed at offset 0x123400 in
the XP SP2 free build of ntoskrnl.exe, because the linker put it there.
It records that information in the symbol file.

The debugger can always figure out that a particular address is located
at offset 0x123456 within ntoskrnl.exe. It has a table that tells it
where every module was loaded, and that works whether or not symbols are
there. But with the symbols, it can go look for the closest symbol to
that address, and say “oh, look, that address must be at
PsMyFavoriteFunction + 0x56.”


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.

Thanks Tim,

But can you tell can I do the same for my program. I mean I want to write release version of an application and also have debug symbols available to me which I could use with some debuggers. Is it possible using win32 SDK/DDK?

regards,
mudassir.

My Weblog:http://www.livejournal.com/users/mudassir


Yahoo! FareChase - Search multiple travel sites in one click.

Hi,

These links will help :

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnvc60/html
/gendepdebug.asp
http:l/gendepdebug.asp>

http://support.microsoft.com/default.aspx?scid=kb;en-us;291585

Best regards,

Nicholas



From: mudassir [mailto:xxxxx@yahoo.com]
Sent: Monday, November 14, 2005 9:29 PM
To: Kernel Debugging Interest List
Subject: Re: [windbg] Microsoft Symbol Server

Thanks Tim,

But can you tell can I do the same for my program. I mean I want to write
release version of an application and also have debug symbols available to
me which I could use with some debuggers. Is it possible using win32
SDK/DDK?

regards,
mudassir.

My Weblog: http://www.livejournal.com/users/mudassir
http:</http:>



Yahoo!
http:kEcG9zAzEEc2VjA21haWwtZm9vdGVyBHNsawNmYw–/SIG=110oav78o/**http%3a/farechase
.yahoo.com/> FareChase - Search multiple travel sites in one click. — You
are currently subscribed to windbg as: xxxxx@hummingbird.com To
unsubscribe send a blank email to xxxxx@lists.osr.com</http:></http:>