Menu

Dev: Easy way to debug plugins in eclipse?

General
2007-04-28
2012-12-10
  • Mike Kienenberger

    Wyatt,

    Have you figured out an easy way to debug a separate plugin project from Eclipse?

    Right now, I still need to build the plugin jar, and then point Buddi at it.

     
    • Wyatt

      Wyatt - 2007-04-28

      Yep, there's way, assuming you have access to the plugin from Buddi's classpath in Eclipse (i.e., you add your Buddi-Plugins project to your Buddi project's classpath, by right clicking on Buddi project -> Properties -> Java Build Path -> Projects -> Add).  Just add the class name (including package) to the Const class, under the String array BUILT_IN_PLUGINS.  When I start Buddi, I look for any classes there when loading plugins.  (In fact, all the built in reports / graphs are technically 'plugins'; I just load them locally instead of from .jar).

      Cheers

       

Log in to post a comment.