in reply to Re^2: Code Flow
in thread Code Flow

I'm hoping to trace the whole program, from the maim to the sub-routines

You might be interested in Tool to record subroutine calls & return values and stevieb's followup here.