Debugging

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.

 

 

 

Help us improve the documentation

We welcome feedback on how to improve this page.

Tell us what theme needs a better explanation or how to clarify a topic.

Share this article: Twitter | Facebook | Email