 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Sally Guest
|
Posted: Sat Jul 02, 2005 6:13 pm Post subject: debugging info not working for BPLs |
|
|
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
|
Posted: Sat Jul 02, 2005 7:07 pm Post subject: Re: debugging info not working for BPLs (more notes) |
|
|
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
|
Posted: Sat Jul 02, 2005 7:53 pm Post subject: Re: debugging info not working for BPLs (more notes) |
|
|
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
|
Posted: Sun Jul 03, 2005 8:33 pm Post subject: Re: debugging info not working for BPLs |
|
|
"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
|
Posted: Fri Jul 08, 2005 3:12 am Post subject: Re: debugging info not working for BPLs |
|
|
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
|
Posted: Fri Jul 08, 2005 4:14 am Post subject: Re: debugging info not working for BPLs |
|
|
"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 |
|
 |
|
|
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
|
|