Copy above file to .xcodeproj/xcshareddata/xcdebugger.
Perfect sound to play: Torture
Again, thanks to @0xced!
| <?xml version="1.0" encoding="UTF-8"?> | |
| <Bucket | |
| type = "4" | |
| version = "2.0"> | |
| <Breakpoints> | |
| <BreakpointProxy | |
| BreakpointExtensionID = "Xcode.Breakpoint.SymbolicBreakpoint"> | |
| <BreakpointContent | |
| shouldBeEnabled = "Yes" | |
| ignoreCount = "0" | |
| condition = "(BOOL)[NSThread isMainThread]" | |
| continueAfterRunningActions = "No" | |
| symbolName = "+[NSURLConnection sendSynchronousRequest:returningResponse:error:]" | |
| moduleName = ""> | |
| <Actions> | |
| <BreakpointActionProxy | |
| ActionExtensionID = "Xcode.BreakpointAction.Log"> | |
| <ActionContent | |
| message = "⚠️⚠️⚠️ WARNING: synchronous NSURLConnection on main thread" | |
| conveyanceType = "0"> | |
| </ActionContent> | |
| </BreakpointActionProxy> | |
| <BreakpointActionProxy | |
| ActionExtensionID = "Xcode.BreakpointAction.Sound"> | |
| <ActionContent | |
| soundName = "torture"> | |
| </ActionContent> | |
| </BreakpointActionProxy> | |
| </Actions> | |
| </BreakpointContent> | |
| </BreakpointProxy> | |
| </Breakpoints> | |
| </Bucket> |