Debugging in Eclipse

0
I want to debug my Mendix project in Eclipse. But when I tried to run the whole project Eclipse can not find the main class.(See the picture attached). I saw the mendix documentation which is out dated. Is anyone else experiencing the same problem?
asked
3 answers
0

I do not think that the documentation is outdated (see documentation here for elaborate steps: https://world.mendix.com/display/public/howto6/Debugging+Java+Actions Did you manage to import your Mendix project in Eclipse? If not please give some more info about the problem you have. The screenshot is not helpfull in that respect.

Regards,

Ronald

answered
0

The first time you try to debug a project in Eclipse, the Run Configuration hasn't been set up yet. Try this:

  • In your Package Explorer, click once on the Mendix project you've imported to highlight it
  • Click the green play/run button
    • This will run your app without debugging
    • It will also create the run/debug configuration
  • Stop the app

At this point, the debug "start" button should work, and you should be all set!

answered
0

I reinstalled Eclipse with .exe installer and the problem is gone away. Not sure whether it is related to the Eclipse version. Previously I was using the Eclipse from a unzipped package.

answered