@dan @tpbradley
Anything change recently involving debugging options? Did you change the notarization or anything like that?
This build is working as expected when I run it normally, but for some reason Xcode refuses to launch this version within the debugger. Xcode provides most terse and useless message I’ve ever seen:
I tried automatic update to retrieve the build and also direct download from the link above. Both result in the same error. I’ve also quit, rebooted, and deleted derived data. I’ve launched the app successfully stand-alone to ensure that the quarantine bit is set, so i don’t think it’s gatekeeper blocking things.
Simply pointing the same build-debug-scheme at the 8.1.7 works fine – pointing it at the 8.2 beta 3 build (20703b)
This is Mojave 10.14.4 and Xcode 10.2.1 – which I think is all the latest non-beta releases of os and tools.
That’s it. The console log messages for Xcode are about a thousand lines, nothing that looks particularly useful or educational. There are a few lines that are about the debug server – nothing that jumps out at me and says much interesting – but perhaps there’s something in there that looks similar to a setting you’ve changed recently.
|debug|03:50:25.015477 -0500|Xcode|found no value for key IDEDebuggerSuppressTargetActivationForTest in CFPrefsSearchListSource<0x7fb5e708ce90> (Domain: com.apple.dt.Xcode, Container: (null))|
|---|---|---|---|
|default|03:50:25.023732 -0500|debugserver|2 +0.012573 sec [8119/0307]: error: ::task_for_pid ( target_tport = 0x0103, pid = 33048, &task ) => err = 0x00000005 ((os/kern) failure) err = ::task_for_pid ( target_tport = 0x0103, pid = 33048, &task ) => err = 0x00000005 ((os/kern) failure) (0x00000005|
|default|03:50:25.035670 -0500|debugserver|3 +0.011940 sec [8119/0307]: error: ::task_for_pid ( target_tport = 0x0103, pid = 33048, &task ) => err = 0x00000005 ((os/kern) failure) err = ::task_for_pid ( target_tport = 0x0103, pid = 33048, &task ) => err = 0x00000005 ((os/kern) failure) (0x00000005|
|debug|03:50:25.043418 -0500|Xcode|sending={command=210, info={LSFrontReservationExists=true, }, }|
|debug|03:50:25.043742 -0500|Xcode| reply={success=true, }|
|debug|03:50:25.044379 -0500|Xcode|Bundle: <private>, key: Pause program execution, value: , table: Localizable, localizationName: (null), result: Pause program execution|
|debug|03:50:25.044426 -0500|Xcode|Bundle: <private>, key: pause, value: , table: Localizable, localizationName: (null), result: pause|
|debug|03:50:25.046049 -0500|Xcode|Bundle: <private>, key: No debug session available., value: , table: Localizable, localizationName: (null), result: No debug session available.|
|debug|03:50:25.046392 -0500|Xcode|Bundle: <private>, key: No debug session available., value: , table: Localizable, localizationName: (null), result: No debug session available.|
|debug|03:50:25.046538 -0500|Xcode|looked up value <private> for key IDELocationSimulationUsePopover in CFPrefsSource<0x7fb5df53d8c0> (Domain: Volatile, User: , ByHost: No, Container: , Contents Need Refresh: No) via CFPrefsSearchListSource<0x7fb5e708ce90> (Domain: com.apple.dt.Xcode, Container: (null))|
|default|03:50:25.047258 -0500|debugserver|4 +0.011565 sec [8119/0307]: error: ::task_for_pid ( target_tport = 0x0103, pid = 33048, &task ) => err = 0x00000005 ((os/kern) failure) err = ::task_for_pid ( target_tport = 0x0103, pid = 33048, &task ) => err = 0x00000005 ((os/kern) failure) (0x00000005|
|debug|03:50:25.048510 -0500|Xcode|Bundle: <private>, key: Breakpoint, value: , table: Localizable, localizationName: (null), result: Breakpoint|
|debug|03:50:25.049175 -0500|Xcode|found no value for key XRMemoryGraphAutomaticCapture in CFPrefsSearchListSource<0x7fb5e708ce90> (Domain: com.apple.dt.Xcode, Container: (null))|
|debug|03:50:25.049326 -0500|Xcode|found no value for key DBGUseDebugHierarchyInfrastructureIfSupported in CFPrefsSearchListSource<0x7fb5e708ce90> (Domain: com.apple.dt.Xcode, Container: (null))|
|debug|03:50:25.055823 -0500|Xcode|found no value for key bristol in CFPrefsSearchListSource<0x7fb5df61cc50> (Domain: com.apple.universalaccess, Container: (null))|
|default|03:50:25.058795 -0500|debugserver|5 +0.011559 sec [8119/0307]: error: ::task_for_pid ( target_tport = 0x0103, pid = 33048, &task ) => err = 0x00000005 ((os/kern) failure) err = ::task_for_pid ( target_tport = 0x0103, pid = 33048, &task ) => err = 0x00000005 ((os/kern) failure) (0x00000005|
|default|03:50:25.070408 -0500|debugserver|6 +0.011613 sec [8119/0307]: error: ::task_for_pid ( target_tport = 0x0103, pid = 33048, &task ) => err = 0x00000005 ((os/kern) failure) err = ::task_for_pid ( target_tport = 0x0103, pid = 33048, &task ) => err = 0x00000005 ((os/kern) failure) (0x00000005|
|default|03:50:25.082087 -0500|debugserver|7 +0.011674 sec [8119/0307]: error: ::task_for_pid ( target_tport = 0x0103, pid = 33048, &task ) => err = 0x00000005 ((os/kern) failure) err = ::task_for_pid ( target_tport = 0x0103, pid = 33048, &task ) => err = 0x00000005 ((os/kern) failure) (0x00000005|
|default|03:50:25.088907 -0500|Xcode|Making presenter 0E879B57-B9DB-4802-9BEA-7BB904FE72F0 observe change|
|default|03:50:25.089045 -0500|Xcode|Making presenter 0E879B57-B9DB-4802-9BEA-7BB904FE72F0 observe change|
|default|03:50:25.093686 -0500|debugserver|8 +0.011585 sec [8119/0307]: error: ::task_for_pid ( target_tport = 0x0103, pid = 33048, &task ) => err = 0x00000005 ((os/kern) failure) err = ::task_for_pid ( target_tport = 0x0103, pid = 33048, &task ) => err = 0x00000005 ((os/kern) failure) (0x00000005|
|default|03:50:25.105284 -0500|debugserver|9 +0.011610 sec [8119/0307]: error: ::task_for_pid ( target_tport = 0x0103, pid = 33048, &task ) => err = 0x00000005 ((os/kern) failure) err = ::task_for_pid ( target_tport = 0x0103, pid = 33048, &task ) => err = 0x00000005 ((os/kern) failure) (0x00000005|
|default|03:50:25.116935 -0500|debugserver|10 +0.011655 sec [8119/0307]: error: ::task_for_pid ( target_tport = 0x0103, pid = 33048, &task ) => err = 0x00000005 ((os/kern) failure) err = ::task_for_pid ( target_tport = 0x0103, pid = 33048, &task ) => err = 0x00000005 ((os/kern) failure) (0x0000000|
|debug|03:50:25.119121 -0500|Xcode|Bundle: <private>, key: line %i, value: , table: Localizable, localizationName: (null), result: line %i|
|error|03:50:25.128467 -0500|debugserver|error: MachTask::StartExceptionThread (): task invalid, exception thread start failed.|
|error|03:50:25.128632 -0500|debugserver|error: Attach failed: "unable to start the exception thread".|