Google Answers Logo
View Question
Q: Delphi 7 Enterprise breakpoints stopped working in one form ( No Answer,   1 Comment )
Subject: Delphi 7 Enterprise breakpoints stopped working in one form
Category: Computers > Programming
Asked by: coderguy-ga
List Price: $50.00
Posted: 08 Nov 2006 17:15 PST
Expires: 08 Dec 2006 17:15 PST
Question ID: 781205
Delphi 7 Enterprise
Breakpoints for trouble shooting no longer work in one of my forms in
a project the other forms still work. I suspect that is is related to
an issue that pops up on groups about the tendancy of Delphi to mess
up line numbers or something about carriage returns messing something
up when you copy and paste code from a text pad or from the help
examples. One guy said he used to have a program which
could fix the line numbers issue but he doesn't have it anymore. Is
there some program I can open the pas file in and have it redo all the
carriage returns or better yet does anyone have a sure fire solution?
There is all kinds of suggestions online but none of them work for me.
There is no answer at this time.

Subject: Re: Delphi 7 Enterprise breakpoints stopped working in one form
From: frde-ga on 09 Nov 2006 04:24 PST
You can easily write one

Load the file into a TStringList using the SL.LoadFromFile method
Run through the SL.Strings looking for #13 or #10 using Pos
- if found replace them with something very visible
Save the file using SL.SaveToFile

Back up first.

Estimated development time ... 8 mins.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  

Google Home - Answers FAQ - Terms of Service - Privacy Policy