Note: This website is archived. For up-to-date information about D projects and development, please visit wiki.dlang.org.
Version 49 (modified by sagitario, 12 years ago)
--

Welcome to cv2pdb

cv2pdb is a converter of DMD CodeView and GDC DWARF debug information to PDB debug format to make it accessible to current tools and debuggers.

The goal of this project is to make debugging of D applications that were created with the DMD or GDC compiler, as seamless as possible in current versions of Visual Studio (i.e Visual Studio 2008 and VCExpress).
As a side effect, other applications might also benefit from the converted debug information, like WinDbg and DMC.

cv2pdb can now be installed as part of Visual D which features integration of the D programming language into Visual Studio.

Links
Lost in Trac?

Project Information

Name cv2pdb
Category Development Tools
Status 4 - Beta
Short DescriptionConvert DMD CodeView debug information to PDB-Format
Operating System Windows XP,Vista
Language C++
License Artistic License 2.0
Forum /forums/viewforum.php?f=236
Home Page http://www.dsource.org/projects/cv2pdb
SVN Repository http://svn.dsource.org/projects/cv2pdb

Features

  • conversion of DMD CodeView information to PDB file
  • conversion of DWARF debug information to PDB file
  • converted line number info allows setting breakpoints
  • display of variables, fields and objects in watch, local and auto window and in data tooltips
  • convenient display of dynamic and associative arrays in watch windows
  • demangles function names for convenient display of callstack
  • also works debugging executables built with the Digital Mars C/C++ compiler DMC

Read more...

News

2012-05-01 Version 0.24

  • supports unicode characters in file names
  • improve interpretation of DWARF location expression

2012-02-12 Version 0.23

  • disabled named enumerator for D basic types to avoid debugger troubles displaying arrays
  • added command line switch -e to enable using named enumerator for D basic types
  • added DWARF support
  • added x64 support
  • tweaked visualizer for associative array element to just show key and value

2011-07-12 Version 0.22

  • added command line switch -s to specify the replacement character for '.' in symbols
  • fixed another crash where compressed symbols expand to more than 4096 characters

2010-05-08 Version 0.21

  • fixed decoding of compressed symbols
  • added command line switch -n to disable symbol demangling
  • fixed crash with more than 32767 types

Full version history...

Downloads

The current binary package can be downloaded here.

The sources can be retreived from the SVN repository or from the source package.

Installation

There is no dedicated installation program, a simple copy of the executable is enough to use it. A few manual extra steps should be done for the best debugging experience. Read more...

Updating

If you are updating from a previous version of cv2pdb, please make sure that the versions of cv2pdb.exe, dviewhelper.dll and the snippets in autoexp.dat are compatible with each other. The easy way is to take them from the same package.

Usage

The executable is a command line program, that creates a PDB file from the CodeView debug information found in the executable to debug. Read more...

Patching DMD

If you are not among the faint-hearted, you might want to patch DMD for even better debug experience. Read more...