...
- Intellij (version 12 and forward) with SEAMCAT setup and running in debug mode;
- The source code of the plugin project;
- 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:
- From the SEAMCAT intellij project open the project structure (menu "File -> Project Structure ...");
- From the "Project Settings" choose "Libraries";
- Choose "Attach files or Directories" (by clicking the green plus sign on the right);
- First attach the .jar file of the plugin (this will attach the binary code of the plugin to your SEAMCAT project);
- Second attach the root directory of the plugin project (this will attach the source code of the plugin).
Figure 502510: How to associate a plugin .jar to its source code Anchor F502F510F502 F510
...