Board index » delphi » IDE jumps to wrong line
Stuart Booth
![]() Delphi Developer |
Stuart Booth
![]() Delphi Developer |
IDE jumps to wrong line2003-12-23 03:16:56 AM delphi195 Since upgrading to Delphi 7, I find the IDE keeps jumping to the wrong line. For example, jumping to an error always takes me to a few lines above the real line, and stepping through the de{*word*81} has the same effect (that is, it highlights the wrong line). Has anyone else seen this and know a solution? Thanks. -Stuart |
Andrew Jameson
![]() Delphi Developer |
2003-12-23 03:19:29 AM
Re:IDE jumps to wrong line
It might be spurious line terminators in your source code ... if you look at
your .pas file in notepad you might see cr/lf characters (notepad displays them as little outlined squares). Delphi accepts them without problem until you try to debug and then it gets confused ! Andrew "Stuart Booth" <XXXX@XXXXX.COM>writes QuoteSince upgrading to Delphi 7, I find the IDE keeps jumping to the wrong |
Stuart Booth
![]() Delphi Developer |
2003-12-23 03:49:00 AM
Re:IDE jumps to wrong line
That was it. Thanks, Andrew! It turned out that I did have some of these,
and even the ones in comments threw it off, too. -Stuart "Andrew Jameson" <XXXX@XXXXX.COM>writes QuoteIt might be spurious line terminators in your source code ... if you look |