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 double click Error message opens wrong file (Read 552 times)
richardv
Newbies
*
Offline


Posts: 4
Joined: Jan 15th, 2023
double click Error message opens wrong file
Oct 15th, 2024 at 11:05pm
Print Post  
I made an error in code, on build the errors tab tell me so. When I double click the message it opens the file, but it is the file under the my AppData\Local\Temp\VMBuilds\...\...\Debug folder, not the correct file in the project. 

How can we force it to open the correct source file?

Why does it even copy to the AppData\Local\Temp\VMBuilds folder?  I would like it to be more VS - with the bin and obj folders under the source project.

Thanks
Ric
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2695
Joined: Feb 13th, 2019
Re: double click Error message opens wrong file
Reply #1 - Oct 16th, 2024 at 7:06am
Print Post  
Thanks for the report.

Quote:
Why does it even copy to the AppData\Local\Temp\VMBuilds folder?  I would like it to be more VS - with the bin and obj folders under the source project.

The files are copied to a temporary build location so the relevant changes to the INO files can happen for compilation, without affecting the original source files (injection of prototypes, merging of INO files etc...).

The location used to perform the build can be changed in Tools > Options > vMicro > Compiler, where there are settings for the Build Folder, as well as Intermediate Directory:
https://visualmicro.com/page/User-Guide.aspx?doc=Tools-Options-Reference.html

The errors are normally reformatted so they point to the correct source lines in the original files in the project, can you attach a log with the vMicro > Compiler > Verbose property enabled as well so we can see the complete build output?

  
Back to top
IP Logged
 
richardv
Newbies
*
Offline


Posts: 4
Joined: Jan 15th, 2023
Re: double click Error message opens wrong file
Reply #2 - Oct 17th, 2024 at 12:45am
Print Post  
See attached - verbose included
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2695
Joined: Feb 13th, 2019
Re: double click Error message opens wrong file
Reply #3 - Oct 24th, 2024 at 4:40pm
Print Post  
The latest version (24.0926.3) should resolve this issue, which can be downloaded from the top of the board below:
https://www.visualmicro.com/forums/YaBB.pl?board=VS_ARDUINO_EXT_RELEASES
  
Back to top
IP Logged
 
richardv
Newbies
*
Offline


Posts: 4
Joined: Jan 15th, 2023
Re: double click Error message opens wrong file
Reply #4 - Oct 25th, 2024 at 5:08am
Print Post  
This version appears to have fixed it, thank you
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint