Post Go back to editing

How do I debug my application which is not booting properly

Hi,

  My application code works fine while running from emulator, but it fails when booted from the flash. How do I debug it.