Is it possible to debug the scripts of my visualization in a browser?

Q

Is it possible to debug the scripts of my visualization in a browser?

A

Yes there is a plugin for the web browser Firefox named "FireBug" that is able to debug codelines stepwise.

To install it open Firefox and choose the option "Extras/Add-Ons" from the top menu bar. Then use the "Search Add-Ons" option and enter the term "Firebug". Once found install and activate it.

You will find Firebug then in the list of installed add-ons:

From then on you have a small grey bug sign in Firefox top menu bar available, where you can switch between debug and normal mode.

When you click on the bug Firebug gets enabled. The window will be split in two parts. The upper part will be the current web site and the lower part the debug session.

In order to debug the scripting code of your web visualization click to "Script" in the middle menu first and select then the page you want to debug.

The page "00000001.svg" contains the atvise basic pages and the initialization part usually called just one time during startup.

The page "00000002.svg" will contain all the user defined parts such as your own web visualization dialogs located on the "main" and all subpages.

Clicking left to a code line value enables a breakpoint marked with a red circle. The debugger will stop when this will be reached next time.

With the keys F10,F11,F12 you can walk through the code stepwise.