How to debug a plugin

MagicDraw OpenAPI, scripting related questions and discussions

Moderator: Moderators

How to debug a plugin

Postby JB » Sat May 12, 2007 2:44 am

How can I debug a plugin (I use eclipse as IDE)?

Kind regards


JB
 
Posts Rating:

Re: How to debug a plugin

Postby Donatas Simkunas » Mon May 14, 2007 5:47 am

Hello,

To debug plugin do these things:
1. Put all md.jars and your plugin jar to classpath.
2. Put breakpoint in your plugin code.
3. Start in debug mode class com.nomagic.magicdraw.Main for vm arguments
specify this:
-Xmx800M -XX:PermSize=130M

Regards

--
Donatas Simkunas
Senior Programmer
No Magic Lithuanian Development Center
Savanoriu pr. 363, LT 49425 Kaunas
Phone: +370 37 324032 Fax: +370 37 320670
WWW: http://www.magicdraw.com


On Monday 14 May 2007 14:08,
nntp://news.nomagic.com/nomagic.products.magicdrawuml.openapi wrote:
> How can I debug a plugin (I use eclipse as IDE)?
>
> Kind regards

Donatas Simkunas
 
Posts Rating:


Return to Programmatic Extendibility

Who is online

Users browsing this forum: No registered users and 6 guests