title: Xcode attach to process doesn't display NSLog
body: <p>I'm just getting started with Apple Watch. I found instructions from "<a href="http://www.fiveminutewatchkit.com/blog/?category=Xcode"><strong>Five Minute Watchkit</strong></a>", on getting the iOS app and the watch kit app both running in the simulator and both processes attached to the LLDB debugger.</p>
  
  <p>What I do is launch and quit the iOS app to install a current version in the sim. Then I switch to the watchKit scheme and launch that, which displays my watch app UI on the watch simulator.</p>
  
  <p>I then launch the corresponding iOS app in the simulator, then user "attach to process" in the Xcode menu to attach the debugger to the running iOS app.</p>
  
  <p>This works. I can set breakpoints in either the watch kit InterfaceController or in my iOS app and the debugger breaks there when it should.</p>
  
  <p>However, I'm not seeing NSLog() statements in the debug console from my iOS app. (I do see log statements from the WatchKit extension code.) If I set a breakpoint in my iOS app, it does stop at that breakpoint when it should. I assume the lack of console output from NSLog has SOMETHING to do with attaching to a running process on the sim rather than launching it from Xcode, but I don't know what that something is.</p>
  
  <p>(BTW, attaching an action to a breakpoint that invokes NSLog from the breakpoint also doesn't display, but the "log message" debugger command DOES display.
  Does anybody have any insights?)</p>
  
  <p>EDIT: 
  The code in the iOS app doesn't seem to matter. In my case, it was a dirt simple IBAction that was attached to a button in the iOS app storyboard:</p>
  
  <pre><code>- (IBAction)buttonAction:(UIButton *)sender;
  {
    NSLog(@"Button clicked on iPhone");
  }
  </code></pre>
  
  <p>I can set a breakpoint on that NSLog statement. The debugger stops at that line, but I don't see the log statement in the debug console.</p>