# Chapter 1, Page 30 and XCode 9.3

**URL:** <https://forums.kodeco.com/t/chapter-1-page-30-and-xcode-9-3/42376>\
**Category:** Advanced Apple Debugging\
**Created:** [May 8, 2018, 10:44am UTC](https://forums.kodeco.com/t/chapter-1-page-30-and-xcode-9-3/42376 "2018-05-08T10:44:11Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![tetanuss](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/tetanuss/32/81494_2.png) [@tetanuss](https://forums.kodeco.com/u/tetanuss)\
**Post date:** [May 8, 2018, 10:44am UTC](https://forums.kodeco.com/t/chapter-1-page-30-and-xcode-9-3/42376/1 "2018-05-08T10:44:11Z")

</div>

the line

(lldb) breakpoint modify 1 -c ‘(BOOL)[$rdi isKindOfClass:  
(id)NSClassFromString(@“IDEPegasusSourceEditor.SourceCodeEditorView”)]’

did not work in my case - just a flashing out in the console which I could not read

I changed the line in

(lldb) breakpoint modify 1 -c ‘(BOOL)[$rdi isKindOfClass:(id)NSClassFromString(@“SourceEditor.SourceEditorView”)]’

And everything works again.

I’m pretty sure that I used this version with IDEPegasus… before and I guess there’s an API change.

---

<div class="post-metadata">

**Author:** ![shogunkaramazov](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/shogunkaramazov/32/108826_2.png) [@shogunkaramazov](https://forums.kodeco.com/u/shogunkaramazov)\
**Post date:** [May 29, 2018, 11:10pm UTC](https://forums.kodeco.com/t/chapter-1-page-30-and-xcode-9-3/42376/2 "2018-05-29T23:10:10Z")

</div>

@lolgrep Do you have any feedback regarding this? Thank you - much appreciated! :]

---

<div class="post-metadata">

**Author:** ![kush131](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/kush131/32/98620_2.png) [@kush131](https://forums.kodeco.com/u/kush131)\
**Post date:** [June 6, 2018, 7:22pm UTC](https://forums.kodeco.com/t/chapter-1-page-30-and-xcode-9-3/42376/3 "2018-06-06T19:22:55Z")

</div>

Can confirm that @tetanuss solution works for me as well. Curiously enough, when I tried to do the query for Swift frameworks a few pages back I got back this list:

Xcode  
DVTFoundation  
DVTKit  
IDEFoundation  
IDEKit  
libswiftAVFoundation.dylib  
libswiftCore.dylib  
libswiftCoreAudio.dylib  
libswiftCoreFoundation.dylib  
libswiftCoreGraphics.dylib  
libswiftCoreMedia.dylib  
libswiftDarwin.dylib  
libswiftDispatch.dylib  
libswiftFoundation.dylib  
libswiftObjectiveC.dylib  
libswiftQuartzCore.dylib  
libswiftsimd.dylib  
libswiftAppKit.dylib  
libswiftCoreData.dylib  
libswiftos.dylib  
SourceKit  
DVTAnalytics  
DVTDocumentation  
DNTDocumentationModel  
DNTDocumentationSupport  
DVTSourceControl  
DNTSourceKitSupport  
DVTSourceControlHostedAccount  
DVTAnalyticsClient  
DNTTransformer  
IDEProducts  
SimulatorKit  
libswiftAccelerate.dylib  
IDESourceCodeComparisonEditor  
IDESourceEditor  
SourceEditor  
MarkupSupport  
SourceKitSupport  
SourceModelSupport  
DVTSourceEditor  
DVTMarkup  
IDESourceControlUI  
IDEProductsUI  
IDEDocViewer  
GPURenderTargetEditor  
IDESceneKitEditor  
IDEPlaygroundEditor  
IDEPegasusPlaygroundEditor  
XCSCore  
XCSUI  
XCSAdministration  
libswiftSwiftOnoneSupport.dylib  
SwiftProtobuf  
XCBuildSupport  
XCBuild  
XCBProtocol  
XCBUtil  
IDEQuickHelp

Which does not include IDEPegasusSourceEditor. Did a recent Xcode update change things?

---

<div class="post-metadata">

**Author:** ![fclement](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/fclement/32/81494_2.png) [@fclement](https://forums.kodeco.com/u/fclement)\
**Post date:** [June 11, 2018, 2:20pm UTC](https://forums.kodeco.com/t/chapter-1-page-30-and-xcode-9-3/42376/4 "2018-06-11T14:20:19Z")

</div>

For Xcode 9.4, replace:  
(lldb) breakpoint modify 1 -c ‘(BOOL)[$rdi isKindOfClass:  
(id)NSClassFromString(@“IDEPegasusSourceEditor.SourceCodeEditorView”)]’  
By:  
(lldb) breakpoint modify 1 -c ‘(BOOL)[$rdi isKindOfClass:  
(id)NSClassFromString(@“IDESourceEditor.IDESourceEditorView”)]’

---

<div class="post-metadata">

**Author:** ![shogunkaramazov](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/shogunkaramazov/32/108826_2.png) [@shogunkaramazov](https://forums.kodeco.com/u/shogunkaramazov)\
**Post date:** [June 29, 2018, 2:40pm UTC](https://forums.kodeco.com/t/chapter-1-page-30-and-xcode-9-3/42376/5 "2018-06-29T14:40:27Z")

</div>

@lolgrep Can you please help with this when you get a chance? Thank you - much appreciated! :]

---

<div class="post-metadata">

**Author:** ![lolgrep](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/lolgrep/32/106950_2.png) [@lolgrep](https://forums.kodeco.com/u/lolgrep)\
**Post date:** [July 12, 2018, 11:01pm UTC](https://forums.kodeco.com/t/chapter-1-page-30-and-xcode-9-3/42376/6 "2018-07-12T23:01:17Z")

</div>

Yes, they’ve been busy in changing stuff around. I’ll probably be replacing this chapter since this area is too “hot” and too many changes are happening

---

<div class="post-metadata">

**Author:** ![tetanuss](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/tetanuss/32/81494_2.png) [@tetanuss](https://forums.kodeco.com/u/tetanuss)\
**Post date:** [October 3, 2018, 10:10am UTC](https://forums.kodeco.com/t/chapter-1-page-30-and-xcode-9-3/42376/7 "2018-10-03T10:10:31Z")

</div>

In the new version (2.0) of the book and XCode 10.0 fclement post describes still the solution. In other words - the error with the Pegasus class is still in the book…

---

<div class="post-metadata">

**Author:** ![shogunkaramazov](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/shogunkaramazov/32/108826_2.png) [@shogunkaramazov](https://forums.kodeco.com/u/shogunkaramazov)\
**Post date:** [October 30, 2018, 12:49pm UTC](https://forums.kodeco.com/t/chapter-1-page-30-and-xcode-9-3/42376/9 "2018-10-30T12:49:43Z")

</div>



---

<div class="post-metadata">

**Author:** ![shogunkaramazov](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/shogunkaramazov/32/108826_2.png) [@shogunkaramazov](https://forums.kodeco.com/u/shogunkaramazov)\
**Post date:** [October 30, 2018, 12:50pm UTC](https://forums.kodeco.com/t/chapter-1-page-30-and-xcode-9-3/42376/10 "2018-10-30T12:50:55Z")

</div>

@lolgrep Do you have any feedback about this? Thank you - much appreciated! :]

---

<div class="post-metadata">

**Author:** ![lolgrep](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/lolgrep/32/106950_2.png) [@lolgrep](https://forums.kodeco.com/u/lolgrep)\
**Post date:** [October 30, 2018, 1:35pm UTC](https://forums.kodeco.com/t/chapter-1-page-30-and-xcode-9-3/42376/11 "2018-10-30T13:35:00Z")

</div>

Check out the 3rd edition of the book which covers Xcode 10
