pdb-ms

Configuring Visual Studio Source Server / Symbol Store against unsupported Vault SCM app

Hi, I am trying to configure our in house development code as a symbol server, with source control file access when debugging in Visual Studio 2008. We can use this on other projects that reference our core set of libraries. Sadly, we use SourceGear Vault for our SCM system, which is currently unsupported when it comes to indexing our ...

PDB file crashdump user.dmp

Hi, I have an application crash, and as a result it is generating a crash dump in Windows platform. I send the exe and dll file to the customer. The customer has sent the user.dmp and drwtsn32.log file me. But, the customer do not have the corresponding pdb file. The customer just has dll and exe file. So, when I attach this user.dmp fil...

Is Generating Debug Info (pdb) making my application slower in runtime?

In .NET applications is generating debug info (pdb) making my application slower in runtime? or do they only comes into the play when the application crashes? ...

How to build OpenSSL in release mode with symbols?

I generally build my openssl libs by doing this: perl Configure VC-WIN32 ms\do_masm nmake -f ms\ntdll.mak nmake -f ms\ntdll.mak test For debugging minidumps, I'd like to get a pdb file for the 2 dlls (while still building them in "release" mode). I've added /Zi to the CFLAGS part of ms\ntdll.mak, but I still get "Binary was not bui...

How can you change an age-mismatched PDB to match properly?

Our nightly build process was broken for a long time, such that it generated PDB files that were a few hours different in age than the corresponding image files. I have since fixed the problem. However, I would like to start using a symbol server, but cannot due to having to use these age-mismatched pdb files. I work around this is...

Debugging a release version of a DLL (with PDB file)

If I have a DLL (that was built in release-mode) and the corresponding PDB file, is it possible to debug (step-into) classes/methods contained in that DLL? If so, what are the required steps/configuration (e.g. where to put the PDB file)? Edit: If have the PDB file in the same place as the DLL (in the bin/debug directory of a simple c...

How to generate gcc debug symbol outside the build target?

I know I can generate debug symbol using -g option. However the symbol is embeded in the target file. Could gcc generate debug symbol outside the result executable/library? Like .pdb file of windows VC++ compiler did. ...

Are there any security issues leaving the PDB debug files on the live servers?

Are there any security issues keeping the .NET PDB files on the real server? I know that throwing exceptions might take a bit longer , but who throws exceptions during normal execution anyway? :-) But from a security perspective? any issues? ...

Getting line number from pdb in release mode.

Is it possible for the debugger (or the CLR exception handler) to show the line where the exception happened in Release mode using the pdb? The code, in release mode, is optimized and do not always follow the order and logic of the "original" code. It's also surprising that the debugger can navigate through my code step by step, even i...

Obtaining information about executable code from exe/pdb

Hello, I need to extract code (but not data!) from classic win32 exe/dll files. It's clear I can't do this only with extraction of code segment content (because code segment contains also the data -- jump tables for example) and that I need some help from compiler. *.map files are nice but they only contain addresses of functions, i.e....

No filenames in pdb program database.

I have a .pdb program database from a C++ application compiled in debug on Windows VS2005. I use the DIA SDK to find function names but I can't seem to retrieve the filenames for the symbols. Is there some switch I need to turn on? Does this work?! ...

Updating PDB files without rebuilding.

Hi All, Is there a way to update the PDB file with the new source location ? I have a project which links to some libraries which are built on another machine and are debug build with the PDB file. I cannot put a breakpoint in the files which are compiled in the libs. These libs take more than 4 hours to build so I dont want to buid the...

show definition (browse) in *.pdb of *.dll file

I have built a Library project (DLL) in .NET. And sometimes I use the DLL along with its PDB file as a reference in some other projects. Now in the new project, I cant browse through the code of the DLL to debug. I can only see the definitions of class/methods/variables. That's by using "show definition" by browsing through the "class ...

include line numbers in stack trace without pdb?

We are currently distributing a WinForms app without .pdb files to conserve space on client machines and download bandwidth. When we get stack traces, we are getting method names but not line numbers. Is there any way to get the line numbers without resorting to distributing the .pdb files? ...

SymAddSourceStream questions

Did I get it right that SymAddSourceStream function is an equivalent of pdbstr.exe command line tool that comes with MS Source Server? I wrote a test that does SymInitialize/SymLoadModule64/ SymAddSourceStream/SymUnloadModule64/SymCleanup calls sequence and it works without errors, however the target pdb file remains unchanged. Does an...

Wrong line numbers in stack trace (release)

Sometimes we receive stack traces from our customer with wrong line numbers. It happens not so often, but sometimes it puzzles us. Customers have release assemblies with optimizations and with "pdb only" debug information. And yes, we compare line numbers with exactly the same version of code the customer has. And yes, customer has ri...

Embed pdb into assembly

Hi! I want my application to be distributable as a single .exe file but I want to be able to get nice error reports with source code line numbers (the application simply sends email with exception.ToString() and some additional information when unhandled exception occurs). Is there any way to embed .pdb into assembly? ...

How can I convert private pdb to public pdb?

Hello all, I have private pdb file and I have to convert it to a public one. Is there tool for it? Thank you in advance. ...

Can Delphi 5 generate a .PDB file that VS can use?

We've got this large application written in Delphi 5, and development is ongoing to this day. There is research going on into migrating to newer versions, but so far there is no success, as some 3rd party components have not been updated in ages and do not work on later versions. In the meantime however people need to continue work on i...

Finding symbols for C++ source file

Hi, I have a project that is C++ WIN32 project. I found a problem that some symbol can be recognized by the windbg but some don't. I don't know why. The characteristics are: 1) both are C++ method 2) both function are in one .cpp file 3) the two functions are very close in the source file and neither of them are enclosed by a #...