Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic VS2019 error messages cite wrong line number (Read 1150 times)
FrankP
Full Member
***
Offline


Posts: 240
Joined: Oct 19th, 2011
VS2019 error messages cite wrong line number
Jun 10th, 2020 at 9:00pm
Print Post  
In the last few weeks I have started noticing that when VS2019 shows a compile error or warning, the cited line number is off, by a LOT.  In one case, the cited line number  was line 338, but the actual problem was on line 139 (the character index within the line was correct, just the line number was off).

I don't necessarily  think this is any kind of VM problem, just wondering if anyone else has noticed this issue.   I'm running VS2019 V16.6.2 with VM 19.0

TIA,

Frank
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: VS2019 error messages cite wrong line number
Reply #1 - Jun 13th, 2020 at 1:33am
Print Post  
Ino or cpp?
  
Back to top
WWW  
IP Logged
 
FrankP
Full Member
***
Offline


Posts: 240
Joined: Oct 19th, 2011
Re: VS2019 error messages cite wrong line number
Reply #2 - Jun 18th, 2020 at 2:45am
Print Post  
.ino
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: VS2019 error messages cite wrong line number
Reply #3 - Jun 19th, 2020 at 5:45pm
Print Post  
Thanks for the report. This is resolved in the new release available via Extensions>Extensions and Updates or the Gallery.
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint