473,387 Members | 1,464 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

PDB files with source code linkage

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?

Nov 21 '05 #1
0 884

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

18
by: JKop | last post by:
Here's what I know so far: You have a C++ project. You have source files in it. When you go to compile it, first thing the preprocessor sticks the header files into each source file. So now...
10
by: puzzlecracker | last post by:
can someone explain why int k; canNOT be definied in .h file? what are general rules for what can/cannot be placed in .h file. FAQ doesn't seem to address this problem.
2
by: Kevin Joplin | last post by:
Hi there, I've almost finished writing simple server application and i have one little doubt. Suppose we have main server code in server.c file. Rest of the code we divided into some pices and put...
14
by: John Goche | last post by:
Hello, The extern keyword can be used in C and C++ to share global variables between files by declaring the variable in header file and defining it in only one of the two files. For example,...
36
by: zouyongbin | last post by:
Stanley B Lippman in his "C++ Primer" that a definition like this should not appear in a header file: int ix; The inclusion of any of these definitions in two or more files of the same...
7
by: Bruintje Beer | last post by:
Hello, I have an include file constants.h see below. Later I want to include this header file in two c++ source files because they both need the variables f1, f2 and f3. At link time I got an...
3
by: vijay | last post by:
I am trying to learn C and am struck at header file stuff. I have the following source files in my directory: header.h ------------ int a_function(int); library.c ----------- #include...
6
by: The Architect | last post by:
Hi, If I have the same symbol in the .data section of 2 obj files, LD gives a multiple declaration error on linking? Would like to know the reason for this (diab only issues a warning) Also...
10
by: Stephen Howe | last post by:
Hi Just going over some grey areas in my knowledge in C++: 1) If I have const int SomeConst = 1; in a header file, it is global, and it is included in multiple translations units, but it...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.