title: xcode 6 beta EXC_BREAKPOINT (code=EXC_I386_BPT, subcode=0x0) in swift
body: <p>I am creating a basic iOS app that sends an HTTP "GET" request on a specified URL and printing that information into a textfield.</p>
  
  <p>I receive no errors but I get a <strong>EXC_BREAKPOINT (code=EXC_I386_BPT, subcode=0x0)</strong> error in the <code>operationQueue</code> thread. I am new to iPhone development and Swift and even after doing research I'm not sure what this means.  </p>
  
  <p>My code is below. My view only contains a button that performs the get method on touch down and a textfield.</p>
  
  <pre><code>import UIKit
  import Foundation
  
  class ViewController: UIViewController {
  
  @IBOutlet var textField : UITextField
      @IBOutlet var button : UIButton
  
      override func viewDidLoad() {
          super.viewDidLoad()
  
      }
  
      @IBAction func get(sender: AnyObject) {
          var url : String = "http://localhost:8080/Booknds/v1/Summary/1"
          var request : NSMutableURLRequest = NSMutableURLRequest()
          request.URL = NSURL(string: url)
          request.HTTPMethod = "GET"
  
          //send request
          NSURLConnection.sendAsynchronousRequest(request, queue: NSOperationQueue(), completionHandler:{ (response:NSURLResponse!, data: NSData! , error: NSError?) -&gt; Void in
  
              //get data from URL in dictionary form
              let jsonResult : NSDictionary = NSJSONSerialization.JSONObjectWithData(data, options: NSJSONReadingOptions.MutableContainers, error: nil) as NSDictionary
  
              // process jsonResult
              if jsonResult != nil {
                  self.textField.text = "\(String(jsonResult.description))"
  
              } else {
                  self.textField.text = "data: \(data), response: \(response), error: \(error)"// couldn't load JSON, look at error
  
              }
  
              })
      }
  
      override func didReceiveMemoryWarning() {
          super.didReceiveMemoryWarning()
          // Dispose of any resources that can be recreated.
      }
  
  }
  </code></pre>