How to Detect Bugs in Your App