Resolved: Eclipse - Debug Environment

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Resolved: Eclipse - Debug Environment

Marco Flachmann

Hi Nick,


thank you for the link – although I already knew this one I tried it a second time, following the Eclipse

instructions very carefully – but I must have missed the very important console information during

Debug run in the past:


Java.lang.NoClassDefFoundError: mmcorej/CMMCore


OMG – now that I have added MMCoreJ.jar to the project libraries our debugging issue is resolved.


Happy Halloween!

Best, Marco

Von: Nicholas Michael Anthony <[hidden email]>
Gesendet: Mittwoch, 30. Oktober 2019 16:13
An: Micro-Manager General <[hidden email]>
Betreff: Re: [micro-manager-general] Eclipse - Debug Environment


Hi Marco,


All of my experience with plugins has been for MicroManager 2.0 and using Netbeans so I’m not sure how comparable everything is. However, the instructions here have always worked well for me:


Hope that helps,



From: Marco Flachmann <[hidden email]>
Sent: Wednesday, October 30, 2019 9:18 AM
To: [hidden email]
Subject: [micro-manager-general] Eclipse - Debug Environment


Hello guys,


I’m fighting to create a clean plugin development environment which consists of


  • Windows 10 64 bit
  • Open JDK 13.0.1
  • ImageJ 1.52r
  • MicroManager 1.4.22


  • Eclipse Photon 4.8.0


In Eclipse:

We are using an external build configuration (separate build.xml) to generate the plugin jar-file.

This works nicely.


For debugging purposes I just added the ImageJ source directory as an additional link for the ij library.

And I added an additional debug configuration (Main class: ij.ImageJ, Program arguments: -debug)


Unfortunately this quick approach did not work – after starting our plugin it seems that ImageJ itself runs

Inside of some kind of debug loop: inside the log window I can only see key press events loggings but our

Pugin does not continue.


I found the general approach for debugging purposes to start a separate ImageJ project in Eclipse and

To add a separate project inside workspace for own plugins.

Since we are using git and have several different plugins I’m wondering if this the only approach to have
a nice debugging environment.


Can anyone provide alternative ideas?

Otherwise we have to restructure our git repository dramatically


Best regards


micro-manager-general mailing list
[hidden email]