In an exemplary aspect of the invention, a method for displaying a computer program
organization on a screen monitor provides a graphical representation of a source
code structure during a debugging session. The graphical representation may include
a program call graph (PCG) or portion thereof for a procedure within the source
code. The PCG may comprise a P_node to symbolize a procedure and an association
reference to identify the relationship between two such procedures. Alternatively,
the graphical representation may include a control flow graph (CFG) or portion
thereof associated with a procedure within the source code. The procedure may comprise
of one or more basic blocks, each basic block associated with a potentially executable
source code statement. The CFG may comprise a B_node symbolizing a first basic
block and an association reference to identify the relationship between two such
basic blocks. The B_node may be adjusted by user command to display supplemental
information (such as source code) or association with a cross-referencing table.
In addition, the graphical representation may include a statement mapping table
(SMT) or portion thereof associated with cross-referencing of line numbers and
statements and basic blocks of a procedure within the source code.