 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Randall Parker Guest
|
Posted: Wed Jul 27, 2005 7:17 pm Post subject: Debugger does not see some lines and methods in large class |
|
|
Running BCB v6 sp4.
I have a class with about 11,000 lines and over a couple hundred methods. I'm
noticing that some methods are not recognized by the debugger as having any lines
that can have breakpoints set at them. The little dot on the left side column for an
executable line is missing entirely in some methods and only sporadically there in
other methods. This is affecting about 10% of the methods in this class.
I've tried doing a full build. I've tried deleting the .tds file and doing a make.
Exiting and restarting BCB does not help either.
Any suggestions on what to do? Or ideas on what causes this?
(and, yes, I know that is a big class but there are good reasons for this since the
class encapsulates and calls into a 3rd party VCL control that is massive)
|
|
| Back to top |
|
 |
Jonathan Benedicto Guest
|
Posted: Wed Jul 27, 2005 7:35 pm Post subject: Re: Debugger does not see some lines and methods in large cl |
|
|
"Randall Parker" <STOPtechiepundit (AT) EVILfuturePOXpunditSPAM (DOT) com> wrote in
message news:42e7ddc6$1 (AT) newsgroups (DOT) borland.com...
| Quote: | Running BCB v6 sp4.
I have a class with about 11,000 lines and over a couple hundred methods.
I'm noticing that some methods are not recognized by the debugger as
having any lines that can have breakpoints set at them. The little dot on
the left side column for an executable line is missing entirely in some
methods and only sporadically there in other methods. This is affecting
about 10% of the methods in this class.
I've tried doing a full build. I've tried deleting the .tds file and
doing a make. Exiting and restarting BCB does not help either.
Any suggestions on what to do? Or ideas on what causes this?
|
Have you turned on any compiler optimizations ?
Jonathan
|
|
| Back to top |
|
 |
Randall Parker Guest
|
Posted: Wed Jul 27, 2005 7:49 pm Post subject: Re: Debugger does not see some lines and methods in large cl |
|
|
Jonathan Benedicto wrote:
| Quote: | Have you turned on any compiler optimizations ?
|
No. Code Optimization set to None.
|
|
| Back to top |
|
 |
Mika Torhola Guest
|
Posted: Thu Jul 28, 2005 8:01 am Post subject: Re: Debugger does not see some lines and methods in large cl |
|
|
Then how about dividing the class implementation into
two (or more) units, like uYourClass.cpp and uYourClass_2.cpp.
Of course, that would render the Ctrl+F6 switching between
header and implementation unusable for uYourClass_2.cpp,
but I guess that's a reasonable price to pay...
--
MikaT
"Randall Parker" <STOPtechiepundit (AT) EVILfuturePOXpunditSPAM (DOT) com> wrote
| Quote: | Running BCB v6 sp4.
I have a class with about 11,000 lines and over a couple hundred methods. I'm noticing that some methods are not recognized by the
debugger as having any lines that can have breakpoints set at them. The little dot on the left side column for an executable line
is missing entirely in some methods and only sporadically there in other methods. This is affecting about 10% of the methods in
this class.
I've tried doing a full build. I've tried deleting the .tds file and doing a make. Exiting and restarting BCB does not help
either.
Any suggestions on what to do? Or ideas on what causes this?
(and, yes, I know that is a big class but there are good reasons for this since the class encapsulates and calls into a 3rd party
VCL control that is massive)
|
|
|
| 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
|
|