Hi Paolo,
Based on my knowledge, the *.pdb file mainly record the information about
the map between the function point and function name or memory point and
memory name, with symbol(i.e. the *,pdb) so that we know what we are doing
in certain break point, otherwise, we will just see a lot of disassembly
code. i.e. the *.pdb will help the debugger to convert the disassembly
code into man readable function call and etc.
For the scenario, if we have ever access to a global variable, but once we
have run to the next code line, we have no information that will tell us
that we have access to the global variable except that we have ever logged
the information.(e.g. to a file) Although we can use reflection to get all
the information about certain type(i.e. a class). But we did not have the
information about what class(type) the method had ever access to.
e.g. in debugging process, if we do not set the breakpoint in the place, we
still have no idea what memory address we need to access(in debugger we can
access the user mode address space), because we do not know which memory
address represented the global variable. As I said before, the global
variable belong to that class.
Hope this helps.
Best regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! -
www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.