Community
Participate
Working Groups
Unable to get the GDB working using the example HelloWorld C++ application. Get these below errors Error in final launch sequence: Failed to execute MI command: -exec-run Error message from debugger back end: During startup program exited with code 0xc0000135. Failed to execute MI command: -exec-run Error message from debugger back end: During startup program exited with code 0xc0000135. During startup program exited with code 0xc0000135. Also the same issue noticed in the latest build: Eclipse IDE for C/C++ Developers Version: 2019-09 R (4.13.0) Build id: 20190917-1200 OS: Windows 10, v.10.0, x86_64 / win32 Java version: 1.8.0_231 PATH variable setup : ${CYGWIN_HOME} C:\cygwin64 ${CYGWIN_HOME}\bin;//and other jre tools path. I was able to compile and run the application and also able to run cygwin gdb from command line.
I believe that this problem is caused by the environment that Eclipse is launching in not having all the path information needed to launch successfully. Perhaps you can confirm by starting Eclipse from inside the working Cygwin command line environment, that will make Eclipse inherit the Cygwin environment fully. If that solves the problem, you can report what is different about the environments and perhaps CDT can do something with that. IIRC someone had reported that there may be a problem of Path vs PATH environment variables - CDT should be treating them the same on Windows. Please let me know what you find and we can proceed from there.