Skip to content

Debug plugin

Sébastien Gallou edited this page Jul 4, 2016 · 5 revisions

As you know, a plugin is a separated process of Yadoms. Traditional debugging (debug main application to enter in the plugin code) is not available. Here is ways to debug your plugin.

On Windows (with Visual Studio)

To debug your plugin under Windows, use this method (source here) : In the registry, add in HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\currentversion\image file execution options, a key of the name of your plugin executable (ex : dev-fakePlugin.exe). Add a string value named debugger, containing the string vsjitdebugger.exe.

Next time Yadoms will start your plugin, you will prompted for open a debugger, that will stop at your plugin first line.

On Linux (Ubuntu)

TODO

Clone this wiki locally