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
The value of miDebuggerPath is invalid (Read 72 times)

Posts: 1
The value of miDebuggerPath is invalid
Sep 25th, 2020 at 6:47am
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
Back to top

Please Register or Login to the Forum to see File Attachments
IP Logged
Simon@Visual Micro

Posts: 515
Re: The value of miDebuggerPath is invalid
Reply #1 - Sep 25th, 2020 at 10:18am
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


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:

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 Topic Print