Debug your plug-in with Eclipse

Plug-in support provides an interface for developers to integrate Visual Paradigm's product. This tutorial teaches how to configure Eclipse to perform debugging on your plug-ins.

September 30, 2009
User Rating: / 0
Views: 1,581
PDF Link Add comments
Edition: Community or above (Edition comparison)

To configure eclipse for debug your plug-in:
  1. Create plugins folder under VP Suite installation directory, and deploy your plug-in to the plugins folder (include source files).
    new plugins folder
  2. Create eclipse product from existing source by pointing to your plug-in inside VP Suite/plugins folder, Press Next to proceed.
    project location
  3. Include all the following jar files under to project Libraries.
    Filename Parent Directory
    vpplatform.jar VP Suite/lib
    jniwarp.jar
    jh.jar
    winpack.jar
    openapi.jar
    lib01.jar - lib06.jar
    orm.jar VP Suite/ormlib

    library
  4. Select new Debug Configuration.
    debug config
  5. Select Java Application, and then press the New launch configuration button.
    new launch config
  6. Name the configuration as Debug my Plugin, and specify the main class as RV.
    specify main class
  7. Switch to Arguments tab, and enter debug in Program arguments.
    debug para
  8. In the Working directory field, select File System..., and then specify VP Suite/bin folder.
    working dir
  9. Press Apply to commit. After that you can press the Debug button to start debugging your plug-in. You can change the source of your plug-in directly in eclipse. Changes will reflect directly in VP after you save your modification (note that you have to specify the Build Automatically under the Project menu).
    auto build

* Note that if you are using Business Process Visual ARCHITECT, please change the VP Suite installation directory in the above procedures to Business Process Visual ARCHITECT installation directory.

Rate this Article

Click on one of the stars below to rate this article from 1 (lowest) to 5 (highest).

You may be interested in

  1. Writing Effective Use Case
  2. Draw Entity Relationship Diagram (ERD)
    Tagged:
  3. UML Package Diagram
    Tagged:
  4. Produce UML Use Cases from Business Process Diagram (BPD)
  5. Oracle database design with Entity Relationship Diagram
Tags of this article:

Comments (0)

Write comment

Rating

Comment

Enter the calculation result

security code