Index: source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.cpp =================================================================== --- source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.cpp +++ source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.cpp @@ -50,7 +50,6 @@ m_objc_trampoline_handler_ap (), m_Foundation_major() { - ReadObjCLibraryIfNeeded (process->GetTarget().GetImages()); } bool @@ -76,6 +75,7 @@ bool AppleObjCRuntime::GetObjectDescription (Stream &strm, Value &value, ExecutionContextScope *exe_scope) { + ReadObjCLibraryIfNeeded (m_process->GetTarget().GetImages()); if (!m_read_objc_library) return false; @@ -369,6 +369,7 @@ AppleObjCRuntime::GetStepThroughTrampolinePlan (Thread &thread, bool stop_others) { ThreadPlanSP thread_plan_sp; + ReadObjCLibraryIfNeeded (m_process->GetTarget().GetImages()); if (m_objc_trampoline_handler_ap.get()) thread_plan_sp = m_objc_trampoline_handler_ap->GetStepThroughDispatchPlan (thread, stop_others); return thread_plan_sp;