Printing all global variables/local variables?

Type info variables to list “All global and static variable names” (huge list.

Type info locals to list “Local variables of current stack frame” (names and values), including static variables in that function.

Type info args to list “Arguments of the current stack frame” (names and values).

Leave a Comment