HomeVisionXL Debug Plug-in

When developing plug-ins it can be useful to put some debugging commands in the code that output some text indicating that a certain point in the code has been reached or for dumping the value of some variable. Especially on Microsoft Windows this is a bit difficult because the standard output of the plug-in doesn't show up anywhere. In these situations the debug plug-in can help out. When the plug-in is enabled, a screen appears that other plug-ins can use for sending their output. In those other plug-ins include the following code:
    hvImport debug debug
    
After that you can use the debug command to send a string to the debug window. Example:
    debug "The value of variable foo is: $foo"
    

Last modified: 31 December 2006, 23:49 CET