title: How to debug a plugin in Eclipse - i.e. a Java project without a Main method
body: <p>I am currently trying to modify the behavior of an existing open-source plug-in for Eclipse.</p>
  
  <p>I'm trying to understand how the plugin works. To do so, I opened it in "Debug" mode as an Eclipse application and I am testing it out after having inserted many breakpoints.</p>
  
  <p>However, sine Eclipse plugins do not have a <code>Main</code> method, it's still really difficult for me to keep track of everything that is going on. The calls seem to jump arbitrarily (which I quickly realized was happening through all the interfaces and superclasses the plugin is inheriting) and I can't see exactly what's doing what.</p>
  
  <p>What is the proper (read: BEST) way to debug a program with no <code>Main</code> method? How can I test, tweak, and explore and program - in this case a plugin - whose modus operandi I'm uncertain of?</p>