> I have a unit that is 2000+ lines long.  When I am editing the
> project and run it with the debugger it acts like there is a
> breakpoint at line 1342 when that line is a line that can have
> a breakpoint.  If I insert a few lines so that line 1342 could not
> have a breakpoint then my application runs fine.
> 
> Why is this happening?

a few things to try:

open the .dsk file (as a text file) and examine the
[breakpoints] section.

There should be a count and then a list of lines 
corresponding to your actual breakpoints.

Maybe this part of the file got corrupted and 
there is some garbage there (or the count is off).

If you don't care about preserving other breakpoints
you can remove the whole section.

(OR - if you're even more lazy like I usually am you
can just delete the .dsk file completely)

-ns



---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"

Reply via email to