Understanding application execution flow