My favorites | Sign in
Project Home Downloads Wiki Issues Source
Project Information
Members
Featured
Downloads

Map2Dbg is a mall tool to convert a .map file to a .dbg file.

A map file is a Borland/Codegear debug file, created by Delphi and C++Builder. However, it is not compatible with Microsoft's debug file format (.dbg), so it cannot be used with Microsoft debug tools (windbg.exe for example).

Map2dbg is originally created by Lucian Wischik: http://www.wischik.com/lu/programmer/

A small fix is made to his version to make it compatible with newer .map files (Delphi and C++Builder 2006 - 2009). It is also compatible with the free Turbo Delphi and Turbo C++Builder: http://turboexplorer.com/downloads

Goal of this open source project (with approval of Lucian Wischik) is:

  1. Keep compatible with every new version of Delphi/C++Builder
  2. Convert more debug info (e.g. line numbering, source file names)
  3. Port it to Delphi (so it can be included in Delphi projects)
  4. Make a plugin for Delphi/CBuilder, so converting is done after each build

Because of my little knowledge and experience of C++: if you can help me with point 2 (line numbering + source files), that would be very nice!


Update: 20-03-2012: tds2pdb converter


Note:

You can also use tds2dbg.exe to convert a "TD32 Debug Info" file (.tds) to a .dbg file.

For Delphi: use tdstrp32.exe to extract TD32 from a Delphi exe to a .tds file (use tdstrp32.exe -s <app.exe>).

Read this page for which compiler options to set to get TDS/TD32 debug info.

There is also an project named "tds2pdb" which converts and C++ .tds file to a PDB file. I made some small modifications so it can convert a Delphi .tds (TD32) file to .pdb file: http://map2dbg.googlecode.com/files/tds2pdb.zip


Powered by Google Project Hosting