VS Arduino
>> >> Problem with Library Debugging
https://www.visualmicro.com/forums/YaBB.pl?num=1622784357

Message started by F_L on Jun 4th, 2021 at 5:25am

Title: Problem with Library Debugging
Post by F_L on Jun 4th, 2021 at 5: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\Debug\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, :)
F_L
https://www.visualmicro.com/forums/YaBB.pl?action=downloadfile;file=Vm_Output_001.txt ( 203 KB | 7 Downloads )

Title: Re: Problem with Library Debugging
Post by Tim@Visual Micro on Jun 4th, 2021 at 2: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.


Title: Re: Problem with Library Debugging
Post by F_L on Jun 8th, 2021 at 7:41am
Okay, thank you for your answer.

VS Arduino » Powered by YaBB 2.6.12!
YaBB Forum Software © 2000-2024. All Rights Reserved.