how to print a variable value on screen for debugging?

  • what I want to achieve for debugging:
    if I do on an icon a mouseover, the content of variable volume-default should be displayed for a amount of seconds so I can verify it.
    down code is of course only an excerpt, and it does not really work for me. Where is/are the error(s)? Is any more usable solution available?

    Code
    <settings name="themevars" volume-default="0.1" />
    <plugin name="soundON" visible="true" onover="loop1(get(plugin[soundON].visible),get(settings[themevars].volume-default))" />
    <action name="loop1"> loop(if(%1 == "true"),showtext(5,%2));</action>

    thanks in advance,
    Georg

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!