1.2.9 Listing Program Code (list, disassemble)

disassemble [arg]

With no argument, disassemble at the current frame location. With a numeric argument, disassemble at the frame location at that line number. With a class, method, function, code or string argument, disassemble that.

l(ist) [first[, last]]

List source code for the current file. Without arguments, list n lines around the current line or continue the previous listing, where n is the value set by "set listsize" or shown by "show listsize". The default value is 10.

With one argument, list n lines around that line. With two arguments, list the given range; if the second argument is less than the first, it is interpreted as a count.

See About this document... for information on suggesting changes.