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

KeyNotFoundException from scoped.Parent = offsetToSymInfo[scopeparent] #12

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

to start with i dont really know that much about the inner workings of the tds. 
My problem is that i get a KeyNotFoundException from scoped.Parent = 
offsetToSymInfo[scopeparent] some times when using tds2pdb 103. The key in my 
case being 11790 (though i doubt that is saying much...). In later iterations 
of the ParseSymbols method the key appears. Now as i said i dont know much 
about the tds and i dont know how this key-pair-matching of symbols is all 
connected. If you could give me some hints (or some place this stuff is 
documented) that would be great. Then i could have a look and try to figure out 
whats going on. 

Also, not sure if they are connected but i get alot of:
Warning: Name cannot be parsed: " + strname + " possible reason - incomplete
See attached file for exact messages.

Not sure what info to give you, i'm a bit reluctant to upload the dll rigth 
now. But if that is the only solution...

What version of the product are you using? On what operating system?
tds2pdb 103 on win7 64

thanks for a good work (the map2pdb works - though from what i understand tds 
is more detailed which it seems that i need)!

best regards
/Erik

Original issue reported on code.google.com by elysium....@gmail.com on 26 Jan 2015 at 3:29

Attachments:

GoogleCodeExporter commented 9 years ago
I don't have much knowledge of the inner workings too, I got this source from 
someone else and made some small modifications. PDB is however not documented, 
TDS isn't too but there is some info on the internet, but I was not helpful 
enough for me (costs a lot of time to digg into).
Sorry I can't help you!

Original comment by andre.mussche on 27 Jan 2015 at 9:32

GoogleCodeExporter commented 9 years ago
aha, i see. I'll search around and see if i can find someting useful.

thanks!
/Erik

Original comment by elysium....@gmail.com on 28 Jan 2015 at 10:05