Easily create log-and-continue breakpoint in Xcode

Often, when I need to know if I got into the code, I will write an instruction println("We made it this far")

. Sometimes this can be done, or an employee does one of their actions, and eventually our codebase becomes littered with them.

An alternative is to reset the breakpoint at this point in your code and add a Log Message action, as well as an Automatically continue after evaluating actions check. However, it is a three-step process, and falling println

remains the least resistance.

Is there an easier way to create this breakpoint than clicking in the sidebar and right-clicking to edit? Is there a way to create this as a workflow using Automator or AppleScript and bind it to a hotkey?

+3
xcode lldb xcode6


source to share


No one has answered this question yet

See similar questions:

4
Add file breakpoint in Xcode 4 via Applescript

or similar:

1348
How to "add existing frames" in Xcode 4?
981
How to download Xcode DMG or XIP file?
868
Xcode error "Could not find developer disk image"
818
Git ignore file for Xcode projects
805
Xcode 7 error: "Missing iOS Distribution Subscription ID for ..."
746
Failed to start Xcode process: security
626
Hide strange unwanted Xcode logs
576
How can I highlight multiple lines in Xcode?
575
The vs version for build in Xcode
560
Xcode error 6: Unknown class in Interface Builder file



All Articles
Loading...
X
Show
Funny
Dev
Pics