We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6c74271 + b3a430d commit 068fd14Copy full SHA for 068fd14
tools/swift-inspect/Sources/swift-inspect/DarwinRemoteProcess.swift
@@ -163,6 +163,11 @@ internal final class DarwinRemoteProcess: RemoteProcess {
163
self.swiftCore =
164
CSSymbolicatorGetSymbolOwnerWithNameAtTime(self.symbolicator,
165
"libswiftCore.dylib", kCSNow)
166
+ if CSIsNull(self.swiftCore) {
167
+ print("pid \(processId) does not have libswiftCore.dylib loaded")
168
+ return nil
169
+ }
170
+
171
self.swiftConcurrency = CSSymbolicatorGetSymbolOwnerWithNameAtTime(
172
symbolicator, "libswift_Concurrency.dylib", kCSNow)
173
_ = task_start_peeking(self.task)
0 commit comments