This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

'Launching myApplication Default' has encountered a problem ...

Hi!

(I moved this question to the "Questions" area from another area.)

I am using Eclipse to develop and debug on nRF51 DMs (PCA 10028). I have managed to run and debog on one DM, but when I remove the card, add another one, create a new Debug configuration (as per the instructions in a previous blog post), and run the Debug configuration, then, I get a pop-up window saying:

 'Launching myApplication Default' has encountered a problem. 
 Error while launching command: gdb --version

I have compared the configurations of a working application with this new one, but not found any difference.

Any help would be appreciated.

regards, Elm

Parents
  • Hi,

    I found an answer to my own problem: In the Run -> Debug configurations... -> GDB SEGGER J-Link Debugging -> myApplication Default -> Debugger tab, under GDB Client setup, the path to the executable is:

     ${cross_prefix}gdb${cross_suffix}
    

    I pressed the Variables... button and defined cross_prefix to be "arm-none-eabi-".

    This works for me. I do not understand,, however, why this cvariable is not needed for my first project, but needed on my second one.

    Elk

Reply
  • Hi,

    I found an answer to my own problem: In the Run -> Debug configurations... -> GDB SEGGER J-Link Debugging -> myApplication Default -> Debugger tab, under GDB Client setup, the path to the executable is:

     ${cross_prefix}gdb${cross_suffix}
    

    I pressed the Variables... button and defined cross_prefix to be "arm-none-eabi-".

    This works for me. I do not understand,, however, why this cvariable is not needed for my first project, but needed on my second one.

    Elk

Children
Related