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 The value of miDebuggerPath is invalid (Read 1772 times)
Hanz
Newbies
*
Offline


Posts: 1
Joined: Sep 25th, 2020
The value of miDebuggerPath is invalid
Sep 25th, 2020 at 5:47am
Print Post  
I try to debug my code on arduino UNO, following the steps like the tutorial created by Virtual Micro .

(https://www.instructables.com/id/Arduino-Uno-GDB-Debugging/) ;  

When I run my very simple code, viual studio return "Unable to strart debugging.The value of  miDebuggerPath is invalid". Please Help!!!!!!!!!1 Cry Cry
  

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


Posts: 2145
Joined: Feb 13th, 2019
Re: The value of miDebuggerPath is invalid
Reply #1 - Sep 25th, 2020 at 9:18am
Print Post  
Thanks for the report.

It appears that the GDB EXE required to run this is missing in the latest toolchain (7.3.0-atmel3.6.1-arduino7) for v1.8.3 of "Arduino AVR Boards"
It is available in (7.3.0-atmel3.6.1-arduino5) for v1.8.2 of "Arduino AVR Boards", and v1.8.6 of "Arduino megaAVR Boards", but understand using the latest AVR core is often desirable.

The options to resolve this are:
1) Roll back the AVR code to v1.8.2 

Or

2) Install a secondary core with the same tools:-
Install v1.8.6 of "Arduino megaAVR Boards" from the Micro Explorer window this will add the toolset, and press ReScan when installation has completed.
Then if you right click on the project > Add > Local Board.txt
And add the below entry to the file, and change the "MyUsername" to match your setup:
Code
Select All
tools\avr-gcc\7.3.0-atmel3.6.1-arduino5/bin 



Now if you try attaching again this should work as expected.

We will update when we have an update which resolves this more easily.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint