Welcome, Guest. Please Login or Register
Arduino IDE for Visual Studio
 
 
When Logging a Support Issue in the Forum, please ensure you have also:-
  • Enabled vMicro > Compiler > Show Build Properties and Verbose
  • 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
 
  HomeSearch Tutorials & Wiki visualmicro.com LoginHelpRegister  
 
Page Index Toggle Pages: 1
Send Topic Print
Problem with Library Debugging (Read 200 times)
F_L
Newbies
*
Offline



Posts: 2
Problem with Library Debugging
Jun 4th, 2021 at 6:25am
 
Hey,

I am trying to debug a library with arduino nano 33 iot (software debug). I cloned the libary to the project, but when I start to debug, I always get the same error message:
Library folder does not exist: C:\Users\Admin\AppData\Local\Temp\VMBuilds\Test_23_ShortXmlAjax\nano_33_iot\Debu
g\WiFiNINA_Generic

I am not sure why the the folder does not exist or does not get created and also tried debugging the SD Library and got the same error message. I had this issue for some time and have not updated Visual Micro, so maybe it has already been fixed.


Hope you can help me, Smiley
F_L
Back to top
 

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



Posts: 11127
United Kingdom
Re: Problem with Library Debugging
Reply #1 - Jun 4th, 2021 at 3:15pm
 
Hi

Library debugging is only supported with hardware debug because the software debug has to inject commands into a temp copy of the source. That means the library would have to be copied to the build folder and that can cause a problem for any library that uses a relative path to #include another library. The relative path would no longer be valid.

Back to top
 

Tim Leek
home
WWW  
IP Logged
 
F_L
Newbies
*
Offline



Posts: 2
Re: Problem with Library Debugging
Reply #2 - Jun 8th, 2021 at 8:41am
 
Okay, thank you for your answer.
Back to top
 
 
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print