I have a problem, I cannot properly start / debug my AspectJ project in Eclipse. My launch options are set to Run a Resource or, if this is not possible, run a project. This is what I want and what I want, I do not advise me, please, change it.
My problem is that I have a project with 2 files:
- Mainclass.java
- MainclassHook.aj
If I select Mainclass.java in the project explorer, it will ask me how to execute it (this will happen if I select the project itself (but in the project it will look for the main classes)):

Each time the project starts, this will lead to a new start / debug configuration:

MainclassHook.aj open, ( Eclipse , , )

, AspectJ/Java Run/Debug Settings , - AspectJ:

, Eclipse , , /, AspectJ/Java