General approaches to OpenKore development and debugging
Posted: 07 Feb 2018, 10:27
I'm interested in how developing and debugging process looks like (when introducing new features or modifying and fixing existing). In particular, workflow for plugins development.
For example:
I wrote a some code of new plugin and want to test it. I run the OpenKore, it boots and connects to game server. Then I load plugin and it crashes OpenKore due to syntax error. I realize the problem and fix it. And again "Modify plugin source -> Load entire OpenKore -> Maybe get errors -> repeat". Looks a bit complicated for continuous testing of small changes. Also many connections to the server after every fail are not very good.
I can temporary disable exception throwing in Plugin module (https://github.com/OpenKore/openkore/bl ... #L155-L161), so OpenKore will not crash if there was errors in my plugin, and I can fix it and load again without restarting OpenKore. But may be there is more adequate approach? Moreover, there may still be runtime errors after plugin succesfully parsed and loaded.
Since I'm newbie in Perl development, I also would like to know, which tools OpenKore developers use nowadays? Some IDEs or just text editors with extensions (Atom, sublime, notepad++, etc).
For example:
I wrote a some code of new plugin and want to test it. I run the OpenKore, it boots and connects to game server. Then I load plugin and it crashes OpenKore due to syntax error. I realize the problem and fix it. And again "Modify plugin source -> Load entire OpenKore -> Maybe get errors -> repeat". Looks a bit complicated for continuous testing of small changes. Also many connections to the server after every fail are not very good.
I can temporary disable exception throwing in Plugin module (https://github.com/OpenKore/openkore/bl ... #L155-L161), so OpenKore will not crash if there was errors in my plugin, and I can fix it and load again without restarting OpenKore. But may be there is more adequate approach? Moreover, there may still be runtime errors after plugin succesfully parsed and loaded.
Since I'm newbie in Perl development, I also would like to know, which tools OpenKore developers use nowadays? Some IDEs or just text editors with extensions (Atom, sublime, notepad++, etc).