Why is my Eclipse launch configuration not being added to the Run or Debug configurations list?

35,318

Solution 1

There is something wrong with the launch config. Possibly a project is being referenced which is closed (that's what it was for me)...

So the launch may work (in my case this was because the project wasn't actually required) but any issues like this will cause it not to be added to the list of launches. To figure out what the cause is, you can

  1. Try running the launch file
  2. In the "Debug" view (not perspective, but view i.e. tab), right click the launch and select "Edit <launch name>...". This properties window will show you any errors. Once those are fixed, it will add the launch to the list of run configs.

Solution 2

You can also uncheck the options "Filter configurations in closed project" and "Filter configurations in deleted or missing projects". This should do the trick.

Solution 3

enter image description hereTry to remove filter from filtering preferences

Share:
35,318
Epaga
Author by

Epaga

Java developer @ i-net software by day Indie iOS developer of Mindscope and In-Flight Assistant by night Husband of 1, dad of 4

Updated on December 29, 2020

Comments

  • Epaga
    Epaga over 3 years

    I have a .launch file which I can run by context menu (Run As...), but it is not being added to the list of Debug or Run configurations like it should. Why not?