Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Failed to execute MI command: -exec-run
Failed to execute MI command: -exec-run [message #1822556] Mon, 09 March 2020 19:26 Go to next message
Diego Martínez is currently offline Diego MartínezFriend
Messages: 7
Registered: March 2020
Junior Member
Hello, in the first place thanks in advance...

Today I using eclipse for the first time, compile well an execute well, but when I click on debug the ide launch a message with: Failed to execute MI command: -exec-run

This is my version of ide:
Version: 2019-12 (4.14.0)
Build id: 20191212-1212

Any idea?

Thanks


index.php/fa/37548/0/


index.php/fa/37549/0/
  • Attachment: error.PNG
    (Size: 24.92KB, Downloaded 8799 times)
  • Attachment: dbgconf.PNG
    (Size: 53.75KB, Downloaded 8754 times)
Re: Failed to execute MI command: -exec-run [message #1822634 is a reply to message #1822556] Tue, 10 March 2020 15:48 Go to previous messageGo to next message
David VavraFriend
Messages: 1426
Registered: October 2012
Senior Member
Error code: 0xc0000135 is caused by a missing DLL.
https://answers.microsoft.com/en-us/windows/forum/all/error-code-0xc0000135/2f20f9c4-594e-4464-9862-69926be45218

You can try running Dependency Walker to find out which but it's likely cygwin.dll
http://www.dependencywalker.com/

You might not have everything installed.
or may simply need to adjust the DLL search order
https://docs.microsoft.com/en-us/windows/win32/dlls/dynamic-link-library-search-order

Make sure you read:
https://help.eclipse.org/2019-12/index.jsp?topic=%2Forg.eclipse.cdt.doc.user%2Fconcepts%2Fcdt_c_before_you_begin.htm

[Updated on: Tue, 10 March 2020 17:22]

Report message to a moderator

Re: Failed to execute MI command: -exec-run [message #1822652 is a reply to message #1822634] Tue, 10 March 2020 19:37 Go to previous messageGo to next message
Diego Martínez is currently offline Diego MartínezFriend
Messages: 7
Registered: March 2020
Junior Member
Thanks son much, I will check it,
Re: Failed to execute MI command: -exec-run [message #1826556 is a reply to message #1822652] Mon, 27 April 2020 05:46 Go to previous messageGo to next message
Sam Warner is currently offline Sam WarnerFriend
Messages: 40
Registered: April 2020
Member
were you ever able to resolve?
might be related to what I am encountering too.
Re: Failed to execute MI command: -exec-run [message #1826577 is a reply to message #1826556] Mon, 27 April 2020 11:41 Go to previous messageGo to next message
Diego Martínez is currently offline Diego MartínezFriend
Messages: 7
Registered: March 2020
Junior Member
Hello,
Look for you have eclipse folder and execute eclipse from there, don,t make direct access.

Be in touch
Re: Failed to execute MI command: -exec-run [message #1828719 is a reply to message #1826577] Wed, 17 June 2020 14:14 Go to previous messageGo to next message
xiaolei cui is currently offline xiaolei cuiFriend
Messages: 12
Registered: June 2020
Junior Member
hello, I enconter the same problem with eclipse and GDB. Have you solved it ? Could you be more specific about the fix?

thanks very much.

x cui
Re: Failed to execute MI command: -exec-run [message #1828720 is a reply to message #1826577] Wed, 17 June 2020 14:16 Go to previous messageGo to next message
xiaolei cui is currently offline xiaolei cuiFriend
Messages: 12
Registered: June 2020
Junior Member
hi, what do you mean by "don't make direct access"? thanks.
Re: Failed to execute MI command: -exec-run [message #1828729 is a reply to message #1828720] Wed, 17 June 2020 19:10 Go to previous messageGo to next message
Diego Martínez is currently offline Diego MartínezFriend
Messages: 7
Registered: March 2020
Junior Member
Hello,
Execute eclipse from eclipse folder not

Re: Failed to execute MI command: -exec-run [message #1828730 is a reply to message #1828719] Wed, 17 June 2020 19:11 Go to previous messageGo to next message
Diego Martínez is currently offline Diego MartínezFriend
Messages: 7
Registered: March 2020
Junior Member
Hello,
You have to execute eclipse from eclipse folder.
Re: Failed to execute MI command: -exec-run [message #1828740 is a reply to message #1828730] Wed, 17 June 2020 23:56 Go to previous messageGo to next message
xiaolei cui is currently offline xiaolei cuiFriend
Messages: 12
Registered: June 2020
Junior Member
hi, are you using eclipse on Windows ,and execute the eclipse.exe in the Eclipse folder? This is how to solve the GDB issue?
I am running eclipse on win7, still get the error.
I tried to start GDB on eclipse with 3 diffrent PCs, all attempts failed. I still don't get your hints, is there another way to run eclipse instead of running the eclipse.exe ?
thanks.

[Updated on: Thu, 18 June 2020 05:11]

Report message to a moderator

Re: Failed to execute MI command: -exec-run [message #1828771 is a reply to message #1826556] Thu, 18 June 2020 10:54 Go to previous messageGo to next message
xiaolei cui is currently offline xiaolei cuiFriend
Messages: 12
Registered: June 2020
Junior Member
hello , have you got around the GDB failure on Eclipse CPP? is it working now?
thanks.

[Updated on: Thu, 18 June 2020 11:17]

Report message to a moderator

Re: Failed to execute MI command: -exec-run [message #1828774 is a reply to message #1822634] Thu, 18 June 2020 11:45 Go to previous messageGo to next message
xiaolei cui is currently offline xiaolei cuiFriend
Messages: 12
Registered: June 2020
Junior Member
hello David,
I have tried to debug program usning latest
Eclipse CPP on 5 different machines (windows 7 /10installed). On 3 out of 5 computers , this GDB error occurs. So it is not the bad user settings that cause the error. looks like this is a mingw issue?

xiaolei

[Updated on: Thu, 18 June 2020 13:10]

Report message to a moderator

Re: Failed to execute MI command: -exec-run [message #1828787 is a reply to message #1828774] Thu, 18 June 2020 14:35 Go to previous messageGo to next message
Diego Martínez is currently offline Diego MartínezFriend
Messages: 7
Registered: March 2020
Junior Member
Hello,
For me the solution was in execute exclipse from instalation folder, not from the direct access created automatically in the desktop during th installation

Bye
Re: Failed to execute MI command: -exec-run [message #1828853 is a reply to message #1828787] Sat, 20 June 2020 02:03 Go to previous messageGo to next message
xiaolei cui is currently offline xiaolei cuiFriend
Messages: 12
Registered: June 2020
Junior Member
hmm, the short-cut created on desktop is a path to the same executable in the Eclipse folder.
Re: Failed to execute MI command: -exec-run [message #1828863 is a reply to message #1828853] Sat, 20 June 2020 08:24 Go to previous messageGo to next message
Diego Martínez is currently offline Diego MartínezFriend
Messages: 7
Registered: March 2020
Junior Member
Yes, i don,t understand but it worked fine for me.

Test it take some seconds only!!
Re: Failed to execute MI command: -exec-run [message #1828864 is a reply to message #1828863] Sat, 20 June 2020 09:25 Go to previous message
xiaolei cui is currently offline xiaolei cuiFriend
Messages: 12
Registered: June 2020
Junior Member
unfortunately ,it does not work for me. I had trouble with debugging an exsisting makefile project. for an project built by myself , GDB works well. I guess the bug you come across has been fixed. thanks for the help buddy.
Previous Topic:Bad file number
Next Topic:[macOS] Cannot complete the install because some dependencies are not satisfiable
Goto Forum:
  


Current Time: Sat Apr 27 02:54:47 GMT 2024

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

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

Back to the top