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 

debugging info not working for BPLs

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (IDE)
View previous topic :: View next topic  
Author Message
Sally
Guest





PostPosted: Sat Jul 02, 2005 6:13 pm    Post subject: debugging info not working for BPLs Reply with quote



Hi,
I have a project with several BPLs that are runtime loaded by the
application EXE, I'm using C++Builder 4 and just recently switched to
WinXP. I have clicked "Project Options => Compiler => Full debug" for
everything and done a build all.

Everytime I debug the application, it says "No Debug Info" in the event
log and it won't let me step through the BPL. I have never had this
problem before and have used C++Builder4 for many years. I have tried
everything I can think of but it is not working. Stepping through the
EXE source code works fine though.

When I click "Project Options => Compiler => Release", the BPLs get
about 4kb (per 180kb) smaller, so I know something debugging is going
into the BPLs.

QUESTIONS:
1. what other places have to be setup correctly for event log to show it
HAS debug info?
2. Do the Project Options => directories => debug paths have to be
correct to have the event log show a BPL has debug info, or would that
just assist in stepping through source but would not affect having/not
having debug info detected?

THANK YOU SINCERELY FOR ANY HELP!

-Sal


Back to top
Sally
Guest





PostPosted: Sat Jul 02, 2005 7:07 pm    Post subject: Re: debugging info not working for BPLs (more notes) Reply with quote



When I go to my application EXE => project options => packages =>
runtime packages and delete the name of some packages... debugging and
stepping through source code works fine even though event log still
lists the bpl as "no debug info"...


Back to top
Sally
Guest





PostPosted: Sat Jul 02, 2005 7:53 pm    Post subject: Re: debugging info not working for BPLs (more notes) Reply with quote



Another strange note, when I remove the name of some packages from
project options => packages => "runtime packages" ... I still can't
delete the BPL files or my application gives a "BPL not found" error
when run.

Also, in the Borland "modules" view, I see that the BPL's functions are
both within the EXE and listed as a seperate BPL.

Help me, I'm getting a headache from this confusion...


Back to top
Dennis Jones
Guest





PostPosted: Sun Jul 03, 2005 8:33 pm    Post subject: Re: debugging info not working for BPLs Reply with quote


"Sally" <nospamforme (AT) spamme (DOT) com> wrote

Quote:
Hi,
I have a project with several BPLs that are runtime loaded by the
application EXE, I'm using C++Builder 4 and just recently switched to
WinXP. I have clicked "Project Options => Compiler => Full debug" for
everything and done a build all.

Everytime I debug the application, it says "No Debug Info" in the event
log and it won't let me step through the BPL. I have never had this
problem before and have used C++Builder4 for many years. I have tried
everything I can think of but it is not working. Stepping through the
EXE source code works fine though.

When I click "Project Options => Compiler => Release", the BPLs get
about 4kb (per 180kb) smaller, so I know something debugging is going
into the BPLs.

QUESTIONS:
1. what other places have to be setup correctly for event log to show it
HAS debug info?
2. Do the Project Options => directories => debug paths have to be
correct to have the event log show a BPL has debug info, or would that
just assist in stepping through source but would not affect having/not
having debug info detected?

This question has been asked and answered many times in the Borland
newsgroups. A simple google search will give you lots of hits. Try:
"cppbuilder debugging xp bcb5".

It is very likely that the problem you are encountering in BCB4 is exactly
the same as that with BCB5 on XP. See: http://tinyurl.com/9l9hk and
http://tinyurl.com/7b4zg

- Dennis




Back to top
Sally
Guest





PostPosted: Fri Jul 08, 2005 3:12 am    Post subject: Re: debugging info not working for BPLs Reply with quote

Unfortunately I don't have BCB5, I have BCB4. The problem is that I
don't have the function under Modules window to "reload symbol table".

What now?


Back to top
Dennis Jones
Guest





PostPosted: Fri Jul 08, 2005 4:14 am    Post subject: Re: debugging info not working for BPLs Reply with quote


"Sally" <nospamforme (AT) spamme (DOT) com> wrote

Quote:
Unfortunately I don't have BCB5, I have BCB4. The problem is that I
don't have the function under Modules window to "reload symbol table".

What now?

Did you try changing the DLL's image base address to something other than
0x400000 as I suggested? See also:

http://tinyurl.com/8lta8
http://tinyurl.com/b6pjf

- Dennis



Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (IDE) 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.