andremussche / map2dbg

Converts .map files (Delphi, CBuilder) to Microsoft .dbg files. Also .tds to .pdb conversion works now!
https://code.google.com/p/map2dbg/
86 stars 42 forks source link

Exception when creating PDB from TDS #7

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. First i create a TDS from my DLL using:
C:\tds2pdb>tdstrp32.exe -s d:\MySuper.dll

2. Then i want to convert the TDS to PDB using:
 C:\tds2pdb>tds2pdbproto.exe d:\MySuper.TDS

3. I expect a PDB file to be created, but i see this exception:
Unhandled Exception: System.ArgumentException: An entry with the same key 
already exists.
   at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
   at System.Collections.Generic.SortedList`2.Add(TKey key, TValue value)
   at tds2pdbproto.PdbWriter.WritePdb(List`1 tglobals, ModuleInfo[] modules, String pdbname, String exename) in \\vmware-host\Shared Folders\C\-Andre-\-Projects-\
pdbstuff\tds2pdb\tds2pdbproto\PdbWriter.cs:line 1342
   at tds2pdbproto.Program.Main(String[] args) in \\vmware-host\Shared Folders\C\-Andre-\-Projects-\pdbstuff\tds2pdb\tds2pdbproto\Program.cs:line 2090

Windows XP

Original issue reported on code.google.com by rniest...@gmail.com on 18 Jun 2012 at 1:20

GoogleCodeExporter commented 9 years ago
Seems duplicate of this one?
http://code.google.com/p/map2dbg/issues/detail?id=5&can=1

So can you retry with latest version?

Original comment by andre.mussche on 18 Jun 2012 at 1:27

GoogleCodeExporter commented 9 years ago
Yes. With the latest version in works. 

Original comment by rniest...@gmail.com on 19 Jun 2012 at 10:22