Welcome to cv2pdb
cv2pdb is a converter of DMD CodeView 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 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.
Project Information
| Name | cv2pdb |
| Category | Development Tools |
| Status | 4 - Beta |
| Short Description | Convert 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
- 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
News
2010-08-10 Version 0.16
- fixed crash when working with -C (introduced in last version)
2010-08-08 Version 0.15
- thanks to patches by Z3N, the resulting pdb is now usable by more debuggers
- fixed debugge confusion for incomplete structs/classes
- added name demangling support for @safe/@trusted/@property/pure/nothrow/ref
- preview for structs, classes and interfaces improved
2010-06-23 Version 0.14
- better support for 64-integer types
- workaround for DMC's bad type info for "long long" and "unsigned long long"
- enumerator values can now be displayed with symbolic names (DMD patch needed from http://d.puremagic.com/issues/show_bug.cgi?id=4372)
2010-06-03 Version 0.13
- now works with VS 2010: adapted to mspdb100.dll
- tweaked autoexp.dat modifications to be more stable with uninitialized data
- autoexp.snippet now split into two files: autoexp.expand and autoexp.visualizer
2010-04-13 Version 0.12
- names of local function are now demangled
- dmd 2.043 uses different implementation of associative arrays, use command line option -D 2.043 or above to produce the respective debug info
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...
