Is there a known size limit to Form/Pas files in Delphi, specifically
Delphi 5?

I have inherited an application where a descended form has 30,000 lines
of code and the form in text format is 19,000 lines long which the
debugger refuses to step into, e.g. I can place a break point on a
method but when the method is run the debugger does not step into it.
Even when the break point is on a blue dotted line.

I have rebuilt all the dcu's and things like the optimizer are off but
the blue dots only appear from about halfway down the code file to the
bottom. Methods such as create/destroy etc do not have blue dots but I
can put a breakpoint in an ancestor or descendant's create method and
Delphi will pause there.

I can for instance move the form's constructor to be the last method in
the file and it then does get the blue dots but the debugger will still
not stop in the form at that or any other breakpoint. In the ancestor
form's breakpoint I can check the call stack to ensure the method is
being called, the IDE debugger just refuses to step into that form.

I realise it is not ideal to have such a big file in any case and am
looking to re-engineer it, but for the mean time it would be very
beneficial to be able to debug the existing code.


Michael Darling
mailto:[EMAIL PROTECTED]
 
--------------------------------------------------------
Room Solutions Limited is a leading supplier of solutions and services to 
non-life commercial insurance markets. Room Solutions Limited is registered in 
England and Wales with company number 2503575. Its registered office is at 100 
New Bridge Street, London EC4V 6YA, United Kingdom. 

CONFIDENTIALITY NOTICE/DISCLAIMER
This email and any attachments are confidential, protected by 
copyright/intellectual property rights and may be legally privileged. The 
information transmitted is intended only for the person or entity to which it 
is addressed. If you are not the intended recipient, dissemination or copying 
of this email is prohibited.
If you have received this in error, please notify us by forwarding this email 
to the following address: [EMAIL PROTECTED] , and then delete the email 
completely from your system.
This email and any attachments have been scanned for computer viruses by a 
market leading anti-virus system. However, it is the responsibility of the 
recipient to conduct its own security measures. No responsibility is accepted 
by ROOM Solutions Limited for loss or damage arising from the receipt or use of 
this email and any attachments.
No responsibility is accepted by ROOM Solutions Limited for personal emails.
ROOM Solutions Ltd, http://www.roomsolutions.net
--------------------------------------------------------

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________
_______________________________________________
Delphi mailing list -> [email protected]
http://lists.elists.org/cgi-bin/mailman/listinfo/delphi

Reply via email to