Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Anchor
A18.4
A18.4
You need to have the following installed on your machine

  1. Intellij (version 12 and forward) with SEAMCAT setup and running in debug mode;
  2. The source code of the plugin project;
  3.  The plugin .jar file installed in the running SEAMCAT application.

...


To debug the plugin code the jar file of the plugin and the source code must be associated with the SEAMCAT project. This is done by doing the following steps:

  1. From the SEAMCAT intellij project open the project structure  (menu "File -> Project Structure ...");
  2. From the "Project Settings" choose "Libraries";
  3. Choose "Attach files or Directories" (by clicking the green plus sign on the right);
  4. First attach the .jar file of the plugin (this will attach the binary code of the plugin to your SEAMCAT project);
  5. Second attach the root directory of the plugin project (this will attach the source code of the plugin).

Anchor
F510
F510
Figure 502510: How to associate a plugin .jar to its source code

...