If we start a new Project from existing ant buildfile for Lazy8Ledger (the plugin), then it gives the error:
"The project was not built since its build path is incomplete. Cannot find the class file for org.gjt.sp.jedit.View . Fix the build path then try building this project: The type org.gjt.sp.jedit.View cannot be resolved. It is indirectly referenced from required .class files"

The error remained even after we added jedit.jar to the build path.

Can you tell us the step-by-step procedure of how to build the .jar file of the plugin with debugging information? Then, probably, we could do what you said, i.e. start jedit and debug it remotely. Also, in that case, jedit will stop at breakpoints only after we attach the debugger and so we won't be able to debug functions called at startup. Is there a workaround for this?



On 9/28/05, Ed King <eakst7@yahoo.com> wrote:
You'll need to start jEdit in a JVM session that
has remote debugging enabled, and then start a
remote debugging session.  I posted step-by-step
instructions for doing this in Eclipse a few
months back in the (little used) jEdit Community

Here's the post:


--- Sagar Rastogi <sagar.rastogi@gmail.com> wrote:

> Hi,
>  I am a newbie to both Java Swing and also Jedit. I
> need to customize the
> Lazy8Ledger plugin. How do I set breakpoints in its
> code?
> I've been able to set breakpoints in the code of
> jedit but since it loads
> the .jar file directly for plugins, how do I debug
> them?
> Is there an IDE which I can use from which I can
> edit, build and even debug
> the plugins?
>  Thanks
>  Sagar

Yahoo! Mail - PC Magazine Editors' Choice 2005