X (Examine Symbols)

Syntax

Xscope[[context]][[regex]]

Parameters

scope

Specifies the scope in which to search for symbols. Can be one or more of the following:

Specifier Scope

L Lexical
F Function
M Module
E Executable
P Public
G Global
* All of the above

context

Specifies context under which to search with the context operator.

regex

Specifies a CodeView regular expression.

Description

The Examine Symbols (X) command displays the names and addresses of symbols and the names of modules defined within a program. You can specify the scope in which to search and a regular expression against which to match symbols. You can further specify a context using the context operator.

For more information on regular expressions, see Appendix A.

Examples

The following example shows all the symbols and their addresses in the current lexical scope. The command uses the regular expression .* to match any symbol.

>XL .*

The following example displays all symbols and their addresses in the program that start with s_:

>XE s_.*