Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » can't run debugger for AVR using ubuntu OS
can't run debugger for AVR using ubuntu OS [message #1828048] Sat, 30 May 2020 01:36 Go to next message
Mohammed Ali is currently offline Mohammed AliFriend
Messages: 2
Registered: April 2019
Junior Member
Hello,
I'm using Ubuntu 18.04 with eclipse 03-2020 for AVR works, the code is being built and burned on the microprocessor without problems
the problem comes when I try to debug the code using 'gdb' which gives me the following error message
 Error in final launch sequence:

Failed to execute MI command:
-exec-run
Error message from debugger back end:
During startup program exited with code 126.
Failed to execute MI command:
-exec-run
Error message from debugger back end:
During startup program exited with code 126.
During startup program exited with code 126.


after some search I figured out that code 126 is a "permission denied" error, I changed the permission settings in both the project files and also the eclipse source files but it didn't succeed, unfortunately.

tried to launch eclipse as superuser and also with no success.

any help will be much appreciated, thanks.
Re: can't run debugger for AVR using ubuntu OS [message #1828050 is a reply to message #1828048] Sat, 30 May 2020 07:15 Go to previous message
David VavraFriend
Messages: 1426
Registered: October 2012
Senior Member
code 126 also means "attempt to execute a non-executable".
Are you sure you are using remote debugging?
http://avr-eclipse.sourceforge.net/wiki/index.php/Debugging

FWIW: you are asking in the wrong forum.
The plugin is developed by a third party and uses a modified CDT.
You are more likely to get answers about it at their support site:
http://avr-eclipse.sourceforge.net/wiki/index.php/Support
Previous Topic:/<project>/build folder access denied
Next Topic:Eclipse Locking Up
Goto Forum:
  


Current Time: Fri Apr 26 14:26:36 GMT 2024

Powered by FUDForum. Page generated in 0.03216 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top