BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Delphi's memory image does not correspond with map file

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi (General)
View previous topic :: View next topic  
Author Message
Mariella Bakker
Guest





PostPosted: Mon Nov 21, 2005 3:44 pm    Post subject: Delphi's memory image does not correspond with map file Reply with quote



With a certain project I am facing troubles profiling it. At a certain
point, the profiling application will die with an Access Violation. The code
where the profiling application fails, is a call to an interfaced method
call on an interface pointer. When debugging with Delphi, and setting a
breakpoint before this call, the compiler will stop on a different location
than the call (Somewhere in the middle of a different call of a different
class of the same unit). When comparing the EIP address with the map file,
the EIP contains the address where the called method should exist according
to the .map file, but that address corresponds with different Delphi source
code.

Strange enough, when I comment a certain normal object (descendent of
TCollectionItem) out, the debugger will stop on the correct line of source
code. The commented out object is an object which is not used, is not
interfaced, and besides some fields and properties only contains an Assign
method.

Does anybody have any idea what is happening here?

Regards,
Mariella Bakker


Back to top
Riki Wiki Google
Guest





PostPosted: Sat Nov 26, 2005 8:02 am    Post subject: Re: Delphi's memory image does not correspond with map file Reply with quote



Mariella Bakker wrote:

Quote:
Does anybody have any idea what is happening here?

Hoi Mariella

You need to repost your question on the Borland news server to make
everybody see it and possibly answer your question. Further, this
newsgroup do not officially exist, that is why there are so few posts
here. The newsgroup to use is b.p.d.language.delphi.general.

Take a look here:
<http://tinyurl.com/8m5nw>
which links to
<http://delphi.wikicities.com/wiki/Delphi_Newsgroups>


Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi (General) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.