When is VC50.PDB needed? 
Author Message
 When is VC50.PDB needed?

Hi,

We have created some DLL's with Visual C++ V5.0. With the standard
settings created by AppWizard, a <projectname>.PDB file will be created
for the debug information. We distribute this .PDB file with the DLL, so
that other developers can debug the DLL, without disturbing the
developer of the DLL.

But the compiler also generates a VC50.PDB file, and sometimes this file
will also be in use when another developer is debugging. Does anyone
know why this VC50.PDB file is generated, and when it is used? Can I
prevent this file from being created?

Many thanks in advance for any advise,

Fred Bakker



Mon, 02 Oct 2000 03:00:00 GMT  
 When is VC50.PDB needed?

Quote:

> We have created some DLL's with Visual C++ V5.0. With the standard
> settings created by AppWizard, a <projectname>.PDB file will be
> created for the debug information. We distribute this .PDB file with
> the DLL, so that other developers can debug the DLL, without
> disturbing the developer of the DLL.
> But the compiler also generates a VC50.PDB file, and sometimes this
> file will also be in use when another developer is debugging. Does
> anyone know why this VC50.PDB file is generated, and when it is
> used? Can I prevent this file from being created?

vc50.pdb is generated during the compile.  Before V5, the linker then
merged it into <dllname>.pdb.  However, to speed up link time, they
made the linker leave it alone and taught the de{*filter*} to read
vc50.pdb.  It's a good bit faster.  The problem is that every dll you
generate produces a vc50.pdb.  So, if you're going to be distributing
the dll to others, turn off use of vc50.pdb (/pdbtype:none, as opposed
to /pdbtype:sept.)  

--



Fri, 06 Oct 2000 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. When is VC50.PDB needed?

2. Question: Debugger Can't find vc50.pdb

3. Unable to open vc50.pdb

4. How Can I Eliminate VC50.PDB?

5. Debugging and linking conflicts with VC50.PDB

6. error writing to vc50.pdb ???

7. Debugging and linking conflicts with VC50.PDB

8. error writing to vc50.pdb ???

9. error writing to vc50.pdb ???

10. VC50 Setup Program Help Needed

11. HELP NEEDED : Linker problems VC50

12. using FAULT address of EXE sans .pdb in EXE with .pdb

 

 
Powered by phpBB® Forum Software