Wiki
Clone wikiMoneydance-2019 / Debugging
Home>Moneydance>Development>Debugging
Debugging your extension
Source Level Debugging
Moneydance is a Java application. To debug your extension at the source code level you must start Moneydance from within your IDE.
Running Moneydance requires that your IDE has access to all of the Moneydance .jar's and is started in moneydance.jar.
For Eclipse you add all of the Moneydance .jar's to your build path as external jars:
Then create a debug configuration:
Running your extension in debug mode will start Moneydance and will stop at the first breakpoint in your extension.
Note: When Moneydance runs outside the IDE it will continue if an unhandled exception occurs. If you run it from within the IDE it will stop on the first unhandled exception. See below:
error.log
Moneydance provides an error log. It is in the main user directory and called errlog.txt. If an exception occurs this will be displayed here.
You can not use System.out from within Moneydance but you can use System.err, this is directed to errlog.txt.
Updated