Debugging

This documentation is outdated

The most complete and up-to-date documentation is the one of Banana Accounting Plus: Try it now

In this article

Use the Debugger

You can debug the script using the internal debugger.
Banana Accounting use the Qt Script Debugger to debug the scripts. Qt is moving the script to a new system, and it is possible that the debugging function wil change or will not be available in the future.

To debug an app

  • Menu App, Manage App
  • Select the script you want to debug
  • Button "Debug".

After the debugger is started click one or more times on the key Shift-F11 until you see the call of the function "exec(inData)", then click F11. At this point you are in the main function of the script.

Use Debugger messages

To see a value of a variable you can also insert a command

Banana.application.addMessage("Hello World");

Debugging import filter

You can debug import filter by istalling the filter as a normal app, and then using the debugging function.

 

 

 

Share this article: Twitter | Facebook | LinkedIn | Email