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 

Debugger does not see some lines and methods in large class

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





PostPosted: Wed Jul 27, 2005 7:17 pm    Post subject: Debugger does not see some lines and methods in large class Reply with 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
Jonathan Benedicto
Guest





PostPosted: Wed Jul 27, 2005 7:35 pm    Post subject: Re: Debugger does not see some lines and methods in large cl Reply with quote



"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





PostPosted: Wed Jul 27, 2005 7:49 pm    Post subject: Re: Debugger does not see some lines and methods in large cl Reply with quote



Jonathan Benedicto wrote:
Quote:
Have you turned on any compiler optimizations ?

No. Code Optimization set to None.

Quote:

Jonathan



Back to top
Mika Torhola
Guest





PostPosted: Thu Jul 28, 2005 8:01 am    Post subject: Re: Debugger does not see some lines and methods in large cl Reply with quote

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
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.