title: How to properly stop an xCode project currently running?
body: <p>This may sound like a silly question, however with the iOS 6 viewDidUnload no longer getting called, I'm interested in how to properly terminate an iOS app currently being debugged with xCode on the development device. Is hitting the stop button below enough?</p>
  
  <p><img src="https://i.stack.imgur.com/dGuvJ.png" alt="enter image description here"></p>
  
  <p><strong>What exactly happens when I hit that button?</strong> Is this the equivalent of sending a stop signal to the app, terminating the app immediately? <strong>Does any of the dealloc code gets called?</strong> The reason I'm asking is that after repeated debugging with start/stop I'm running into an issue where it appears as if my app is having random memory issues(No leaks are detected with profiling). </p>
  
  <p>Your thoughts are appreciated!</p>