[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.newcomer] Re: Help with debugging

I had the same problem.

Try to find out where your program starts and put a try - catch block around this expression. In the catch block you state
e.printStackTrace();


This will cause to print the stack trace.

regards,
Stefan

Astrid Sawatzky schrieb:
Lars Erik wrote:


Hi.
Im making a plugin to eclipse with GEF and EMF. My problem is debugging the plugin.
I get different exceptions in the runEventLoop method in the Workbench class. The
exception handler only writes a small message to the console and no stacktrace.
I've been stepping through the hole thing and the error seem to be somewhere in one
of the threads(I think..). Without the trace its kind of hard to find out where in
the code the error is. Is there a way to get the hole trace? I've tried log4j
without any luck. :(


Lars.

dear Lars,

when I had this a few days ago, it was in the getChildren() in Editpart. which I had overwritten,instead of setting setParent for the children in the Editpart-factory.
There is a nice Programmer's guide in GEF 3.1 help and there is a newsgroup eclipse.tools.gef which is really worth while. Cu, there


HTH

kind regards Astrid