line count difference

 

Hey all. I am finding that after I compile my code, any errors or warnings are listed with the line number in the source file. However, the line numbers in the error/warning is always about 3 lines off of the problem line of code. Any reason why that you have run into? Thanks.

 

do you edit your code after compiling?


example: delete 3 rows?

 

ive run into this too, it seems to happen after editing and recompiling the same code multiple times it throws it off for some reason, I found if you close out the editor and restart it, it starts working properly again

 
enotrek:

do you edit your code after compiling?


example: delete 3 rows?


no enotrek. I didn't delete 3 rows. just have the count off by 3 rows.
 
SDC:

ive run into this too, it seems to happen after editing and recompiling the same code multiple times it throws it off for some reason, I found if you close out the editor and restart it, it starts working properly again


SDC, I closed the file and reopened it. then without any edit I compiled it again. still off the 3 rows.
Reason: