B
Bardo
Hi all,
We are trying to debug an assembly which was built in debug configuration on
our build server. The output window of visual studio indicates that no
symbols are being loaded for the assembly.
However, when the PDB file is copied alongside the dll, the symbols load ok.
We were a little confused, because we had already been debugging this
assembly WITHOUT copying the pdb file.
What I discovered was that when the assembly is built on the machine that is
being used to attach to and debug the process, the symbols load fine. When
the assembly is built on another workstation, whether that be the build
server or another developers workstation, the pdb file needs to sit
alongside the dll for the symbols to load.
I did a binary compare of the 2 assemblies (same source, different build
workstations), and there is only something like 23 bytes difference.
Questions:
1. Can anyone please shed some light on what is going on here?!
2. Are there some good articles on what is loaded as "symbols". i.e. more
insight into what is going on at a lower level here.
3. It seems debug information is embedded into the debug version dll file,
and also externally stored in the pdb file. Otherwise how can the debug dll
be debugged at all without a pdb file?
Cheers very much,
Bardo
We are trying to debug an assembly which was built in debug configuration on
our build server. The output window of visual studio indicates that no
symbols are being loaded for the assembly.
However, when the PDB file is copied alongside the dll, the symbols load ok.
We were a little confused, because we had already been debugging this
assembly WITHOUT copying the pdb file.
What I discovered was that when the assembly is built on the machine that is
being used to attach to and debug the process, the symbols load fine. When
the assembly is built on another workstation, whether that be the build
server or another developers workstation, the pdb file needs to sit
alongside the dll for the symbols to load.
I did a binary compare of the 2 assemblies (same source, different build
workstations), and there is only something like 23 bytes difference.
Questions:
1. Can anyone please shed some light on what is going on here?!
2. Are there some good articles on what is loaded as "symbols". i.e. more
insight into what is going on at a lower level here.
3. It seems debug information is embedded into the debug version dll file,
and also externally stored in the pdb file. Otherwise how can the debug dll
be debugged at all without a pdb file?
Cheers very much,
Bardo