Questions tagged [symbolic-breakpoint]

5 questions
2
votes
0 answers

Breakpoint for "Modifying Layout Engine From Background Thread"

I'm getting the dreaded warning: This application is modifying the autolayout engine from a background thread after the engine was accessed from the main thread. This can lead to engine corruption and weird crashes. I know what it means (it…
Nicolas Miari
  • 16,006
  • 8
  • 81
  • 189
2
votes
1 answer

Symbolic breakpoint to catch OS alerts

Consider location services are disabled by the user and when location is requested by the app, iOS shows alert "Turn on Location Services to Allow "" to Determine Your Location" Is there any way we can set a symbolic breakpoint to know which line…
raw3d
  • 3,475
  • 1
  • 22
  • 25
1
vote
1 answer

Xcode > Symbolic Breakpoint > Log Message > prints class of object property instead of value

I have created a symbolic breakpoint in Xcode 11.3.1 to log the name property of the first parameter ($rdx) to an Objective-C method. Although my expression: (NSString*)[(NSRelationshipDescription*)$rdx name] prints the expected value when passed…
Jerry Krinock
  • 4,860
  • 33
  • 39
1
vote
1 answer

How to set symbolic breakpoint for initWithNibName in Xcode

How to set breakpoint in xcode 10.1 to break when the method [initWithNibName: bundle:] is called in Objective-C? I can set breakpoint for -[UIViewController viewDidLoad] but don't know how to do with initWithNibName. I tried the following but it…
harunaga
  • 141
  • 1
  • 1
  • 10
-1
votes
1 answer

How to set a breakpoint which triggers on first command in current app target *after* touchesBegan:

What I want to do is set a symbolic breakpoint on touchesBegan:withEvent, but which then continues and stops on the next command executed in my current application target. This way, while debugging someone elses code, I can turn on the breakpoint at…
BricoleurDev
  • 827
  • 9
  • 14