Solved

"Blue dots" in left margin of source code don't line up while debugging

Posted on 2014-02-12
7
345 Views
Last Modified: 2014-02-15
Hi Experts, I was doing some work on my app tonight and I don't know what happened but now a couple of my units (my app has 6 units) have blue dots at the left that don't "line up" with the code.... and it now makes debugging and stepping through practically impossible. Does anyone have any idea what I did and how to remedy it?

Thanks
    Shawn
0
Comment
Question by:shawn857
7 Comments
 
LVL 26

Accepted Solution

by:
Sinisa Vuk earned 250 total points
ID: 39855531
Possible source line endings problem.
Look here:
https://forums.embarcadero.com/message.jspa?messageID=458933
0
 
LVL 19

Assisted Solution

by:MerijnB
MerijnB earned 250 total points
ID: 39855532
Did you try rebuild all, or if that doesn't work delete all .dcu files and rebuild all?
0
 

Author Comment

by:shawn857
ID: 39855546
Thank you guys, I will try those suggestions. Another thing I noticed - I use FastMM4 memory management module and the FastMM4.pas unit is included in my project... when I compile my project only *some* of the lines in the FastMM4.pas unit have the blue dots next to them - there are large chunks of code in that unit that don't have blue dots. I don't know if that could be a contributing factor... it's making me wonder, cause I'm also at the same time having  mysterious "memory leaks" problems...

Thanks
    Shawn
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 37

Expert Comment

by:Geert Gruwez
ID: 39855610
this usually happens after opening a file to a different folder in the ide

after that somehow it opens the file with the same name in that or an other folder

then those blue dots and code don't align correctly
0
 

Author Comment

by:shawn857
ID: 39857621
Thank you all for the help - Sinisa, your link to the article did the trick! I had 2 units that didn't have blue dots matching with the final "end." statement of their unit. I simply deleted all the dcu files, copied over the contents of each offending unit to TextPad, saved that as a txt file. Closed it, then re-opened it in textpad, and replaced the old unit code with that. It fixed everything up for both units and the blue dots now match exactly! Thank you!
   I'm just wondering about the FastMM4.pas unit - the blue dot DOES match exactly with the final "end." statement of the unit, but there are many big gaps of code that don't have a blue dot at all... maybe that's normal for FastMM4?

Thanks!
    Shawn
0
 
LVL 37

Expert Comment

by:Geert Gruwez
ID: 39858298
the missing blue dots mean those pieces of code won't get called
the optimization of the compiler does this

> what's the point in compiling code which will never get used
0
 

Author Closing Comment

by:shawn857
ID: 39861979
Thank you gentlemen!

Cheers
   Shawn
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
indy tidtcpclient threading issue 8 63
creating manifest for my dll that called from activex 6 99
Print Graphic and Text to Epson TM-T88v 12 184
DBGrid or StringGrid ? 6 71
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now