310. ValueBrowser

Useful tool for viewing any variable contents.

310.1. Authors

  • Martin Vidner <mvidner@suse.cz>

  • Dan Vesely?

310.2. Summary of Module Globals

List of Global Functions

  • BrowseTree - Shows tree with contents of variable.

  • BrowseTreeHelper - Creates tree with contents of variable. This function creates the tree items and returns them as term. This offers using the generated output in your behavior, such as data-structure browser with editor. Heavy recursion...

  • DebugBrowse - Write contents of variable to log file.

  • DebugBrowseHelper - Write contents of variable to log file. This function does the job. Heavy recursion...

List of Global Variables

    310.3. Global Functions

    310.3.1. BrowseTree

    Shows tree with contents of variable.

    Function parameters

    • any variable

    Return value

    • void

    Example 147. 

      map a = $[
         "first" : 35,
         "second" : [ 1, 2, 3, 4, 5],
         "third" : $[ "a" : 15, `b: `VBox () ]
        ];
      ValueBrowser::BrowseTree (a);
    


    310.3.2. BrowseTreeHelper

    Creates tree with contents of variable. This function creates the tree items and returns them as term. This offers using the generated output in your behavior, such as data-structure browser with editor. Heavy recursion...

    Function parameters

    • any variable

    • string indent

    Return value

    • term

    310.3.3. DebugBrowse

    Write contents of variable to log file.

    Function parameters

    • any variable

    Return value

    • void

    310.3.4. DebugBrowseHelper

    Write contents of variable to log file. This function does the job. Heavy recursion...

    Function parameters

    • any variable

    • string indent

    Return value

    • void

    310.4. Global Variables

    310.5. Module Requirements

    310.5.1. Module Imports

    • Label

    310.5.2. Module Includes