Method 1: Using the symbol name
This method demonstrates the simplest method of accessing global data. This is the primary method of accessing global data when using the KDB kernel debugger.
Global variables within the KDB kernel debugger can be accessed directly by name. For example, the dw subcommand can be used to display the value of the demokext_j variable. If the demokext_j variable is an array, a specific value can be viewed by adding the appropriate offset (for example, dw demokext_j+20). Access to individual elements of a structure is accomplished by adding the proper offset to the base address for the variable.
Note: The default prompt is
KDB(0)>.To view and modify global variables using the symbol name, do the following: