Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Debugging BIRT Source (2.6.0)
Debugging BIRT Source (2.6.0) [message #882642] Wed, 06 June 2012 22:52 Go to next message
Boyd Nolan is currently offline Boyd Nolan
Messages: 16
Registered: June 2012
Junior Member
All,
I've downloaded the BIRT Source for 2.6.0 and would like to import it into my project so I can set a few break points and diagnose a NPE I am getting in the ObjectWriter. Can anyone shed some light on how to set up this plugin source to run in debug, or point me to an online resource explaining how?

Thanks for any information you can share.

Boyd
Re: Debugging BIRT Source (2.6.0) [message #882649 is a reply to message #882642] Wed, 06 June 2012 23:13 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Boyd,

If you already have the source built, you should be able to create a
debug configuration to launch eclipse and then in the debug eclipse
instance just create and run your report as normal. Make sure to set
the arguments for the jvm to include -XX:MaxPermSize=256M. See attached
screenshot.

Jason

On 6/6/2012 6:52 PM, Boyd Nolan wrote:
> All,
> I've downloaded the BIRT Source for 2.6.0 and would like to import it
> into my project so I can set a few break points and diagnose a NPE I am
> getting in the ObjectWriter. Can anyone shed some light on how to set up
> this plugin source to run in debug, or point me to an online resource
> explaining how?
>
> Thanks for any information you can share.
>
> Boyd
  • Attachment: debug.png
    (Size: 146.33KB, Downloaded 67 times)
Re: Debugging BIRT Source (2.6.0) [message #882928 is a reply to message #882649] Thu, 07 June 2012 13:34 Go to previous messageGo to next message
Boyd Nolan is currently offline Boyd Nolan
Messages: 16
Registered: June 2012
Junior Member
Thanks, Jason,
I've been able to get the plug-in source fully imported and have it running in debug now. I appreciate the help!

Boyd
Re: Debugging BIRT Source (2.6.0) [message #884786 is a reply to message #882928] Mon, 11 June 2012 20:34 Go to previous message
Boyd Nolan is currently offline Boyd Nolan
Messages: 16
Registered: June 2012
Junior Member
It turns out that I don't seem to have things set up properly to fully debug BIRT. It appears to be running from the distribution jar and just referencing the code I imported when it breaks in debug.

I tried adding a separate plug in project to my environment and importing the source there and I am getting some schema related errors indicating "Referenced element 'enablement' is not defined".

Are there any general instructions around anyone is aware of for how to set up a plugin generally, or BIRT specifically, for debugging?

I appreciate any help anyone can provide.

Boyd
Previous Topic:Export to DOC Microsoft Word Issue
Next Topic:API: setProperty() with Type
Goto Forum:
  


Current Time: Thu Oct 23 11:58:50 GMT 2014

Powered by FUDForum. Page generated in 0.11752 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software