Re: Post-Mortem Debugging with .pdb files
- From: "Ivan Berg" <ivanberg@xxxxxxxxx>
- Date: Tue, 27 Sep 2005 16:00:34 -0600
Ensure that you have ALL of these options:
C/C++ -> General -> Debug Information Format /Zi (Program Database)
Linker -> Debugging -> Generate Debug Info /DEBUG (Generate Debug Info)
Linker -> Debugging -> Generate Program Database File
/PDB:$(OutDir)/$(ProjectName).pdb (Generate Program Database File)
Ivan
ivanberg@xxxxxxxxx
"sludgenz" <sludge1@xxxxxxxxxxxxxxx> wrote in message
news:1122860757.376323.79730@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Hi,
> We are a small development shop working with a C and C++ source
> base.
> We've been having a great deal of problems getting our pdb files
> linking back to our source files when doing post-mortem debugging.
> I know this is possible because I've seen it done. At the moment we
> have our clients install Dr Watson and set it to generate a full dump
> file. When a crash is reported we take the dump file and put it in the
> same directory as our .pdb files and open the dump file with Visual
> Studio .NET. We then press play and we get a stack with all the
> function symbols but only disassembly windows when we try to go to one
> of our functions.
> Now in some of our over branches (some of which aren't very different)
> the .pdb files will actually link back to source files. If we use a hex
> editor to examine the difference between the .pdb files we can see that
> those which allow you to link back to source have all the paths to our
> .c and .cpp files whereas those that don't only have the paths to our
> .obj files.
> We've checked all the project settings for our .dll projects and cannot
> find any significant difference between those source base which produce
> source code linked .pdb files and those that don't.
> Anyone have any ideas?
>
.
- Prev by Date: Localize vb 6 Forms
- Next by Date: WinCE 5.0 emulator for Visual Studio 2005
- Previous by thread: Localize vb 6 Forms
- Next by thread: WinCE 5.0 emulator for Visual Studio 2005
- Index(es):
Relevant Pages
|