This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS: debug minGw pc application in CCS

Tool/software: Code Composer Studio

Hello,

I am currently Using CCS version 8.1.

I am trying to test running the debugger on a simple c/c++ mingw application.

compilation is ok and i have CDT GDB debugging enabled in CCS preferences, but when i am trying to launch the debugger = debug as C/C++ application, i starts and immediately terminates.

i have tried it on a very simple "hello world" main.

My computer OS is windows10. i have tried the same thing on windows7 OS computer and there everything works FINE and i am able to debug.

it could be that i am missing something but as far as i can tell the only difference between the working one to the not working one is the computer's OS (windows7 vs windows10), all settings (and sources) seem to be the same .

is there a known issue with Windows10 - if so is there a fix? any other idea?

Appreciate any help you can provide...

Thanks

Guy

  • Is the behavior you are seeing similar to the ones described here and here? Unfortunately neither of those posts seem to have lead to a resolution. 

    Since this is more of a general Eclipse/GDB quesiton rather than a CCS specific question I think you would have better luck asking in the Eclipse forums.
    Another option could be to try the latest CCS 9.1.0 (which uses a newer version of Eclipse and CDT than CCS 8.1) in case it is a known issue that has already been addressed.

  • Hi,

    The latest CCS behaves the same - i.e. i am not able to debug.

    I have tried using mingw64 and with it the debugger was able to start but has crashed after several steps - so no good...

    The links you gave seem to describe a similar problem, but as you said there is not answer there.

    If you have any other idea i'll appreciate it.

    Thanks

    Guy

  • Sorry but unfortunately I don't have any other ideas at the moment.

    You may want to try posting to the Eclipse forums. Those forums get more visibility with GDB users who might have additional ideas or suggestions.