285. ValueBrowser

Useful tool for viewing any variable contents.

285.1. Authors

  • Martin Vidner <mvidner@suse.cz>

  • Dan Vesely?

285.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

    285.3. Global Functions

    285.3.1. BrowseTree

    Shows tree with contents of variable.

    Function parameters

    • any variable

    Return value

    • void

    Example 145. 

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


    285.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

    285.3.3. DebugBrowse

    Write contents of variable to log file.

    Function parameters

    • any variable

    Return value

    • void

    285.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

    285.4. Global Variables

    285.5. Module Requirements

    285.5.1. Module Imports

    • Label

    285.5.2. Module Includes