1

Lam using Xcode 7.2 and I have installed cocoa pods in my application.I am trying to set a breakpoint to debug but the same never gets triggered. I have tried creating a simple application and break point works perfectly fine.

Any inputs will be highly helpful. Thanks in advance.

  • Welcome to SO, please be a bit more specific when asking question: what have you tried, what do you expect, etc. See [how to ask](http://stackoverflow.com/help/how-to-ask) – Nehal Feb 29 '16 at 09:55

1 Answers1

0

Check once your build setting mode if it is in release mode then change it to debug mode.

if it above choice is not work try this

  • Make sure that the target -> scheme -> Run - is in Debug mode (was Release)

    • Make sure to check the option Debug executable like this:

    enter image description here

for more information see this

Community
  • 1
  • 1
Anbu.Karthik
  • 82,064
  • 23
  • 174
  • 143
  • I have checked this, everything is proper. This issue happens only after installing pods. If I don't have pods everything works fine. – IswariyaMadhavan Mar 01 '16 at 01:48
  • @IswariyaMadhavan -- see this link it helps you http://stackoverflow.com/questions/29902339/xcode-6-ignoring-breakpoints-swift – Anbu.Karthik Mar 01 '16 at 05:14
  • Thanks for your inputs.The problem was with "Strip Style" option under build settings. I changed this flag to "YES"and things started working. – IswariyaMadhavan Mar 07 '16 at 03:58
  • @IswariyaMadhavan -- it is symboilcate the all symbols , but it always set as "All symbols" , are you manually changed in before – Anbu.Karthik Mar 07 '16 at 04:46
  • @ Anbu.Karthik I didn't do any changes manually, and I am wondering how that changed. Anyways after resetting values things stated working. – IswariyaMadhavan Mar 09 '16 at 01:25
  • @IswariyaMadhavan -- congrats , if my answer is useful give the tick mark for the answer it is useful for future – Anbu.Karthik Mar 09 '16 at 03:17