# Debugging JUCE types in XCode

**URL:** <https://forum.juce.com/t/debugging-juce-types-in-xcode/35808>\
**Category:** General JUCE discussion\
**Created:** [October 22, 2019, 11:33am UTC](https://forum.juce.com/t/debugging-juce-types-in-xcode/35808 "2019-10-22T11:33:02Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![asimilon](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/asimilon/32/4235_2.png) [@asimilon](https://forum.juce.com/u/asimilon)\
**Post date:** [October 22, 2019, 11:33am UTC](https://forum.juce.com/t/debugging-juce-types-in-xcode/35808/1 "2019-10-22T11:33:02Z")

</div>

I tried without success to add @jimc’s [LLDB helper script](https://github.com/jcredland/juce-toys/blob/master/juce_lldb_xcode.py) to be able to debug some JUCE types, I’m not sure what exactly was meant by :

```auto
# Don't forget to install the VisualStudio or Xcode debug scripts as
# well. These ensure that your IDEs debugger displays the contents
# of ValueTrees, Strings and Arrays in a useful way!

```

Has anyone had any success with this or know some other way to inspect JUCE types when debugging in XCode? (I’m using XCode 9 but could in theory install XCode 10, unfortunately XCode 11 is a no-no with the version of macOS I’m stuck at, thanks Apple…)

---

<div class="post-metadata">

**Author:** ![jimc](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/jimc/32/16067_2.png) [@jimc](https://forum.juce.com/u/jimc)\
**Post date:** [October 22, 2019, 1:22pm UTC](https://forum.juce.com/t/debugging-juce-types-in-xcode/35808/2 "2019-10-22T13:22:29Z")

</div>

Well it was working for me the other day. It should just fire up when opening lldb.

> <https://stackoverflow.com/questions/7689735/lldb-does-not-appear-to-be-reading-my-lldbinit-file-on-startup>

Do any of these answers help?

---

<div class="post-metadata">

**Author:** ![matkatmusic](https://avatars.discourse-cdn.com/v4/letter/m/dfb087/32.png) [@matkatmusic](https://forum.juce.com/u/matkatmusic)\
**Post date:** [October 22, 2019, 2:33pm UTC](https://forum.juce.com/t/debugging-juce-types-in-xcode/35808/3 "2019-10-22T14:33:20Z")

</div>

@jimc Did you ever update the scripts to work with Xcode 10? I had asked about this same thing maybe a year ago in a different thread. I believe you said that you were still using xcode 9 and hadn’t tried your scripts with 10 yet.

> [@Visual Studio Debugger - Natvis file](https://forum.juce.com/t/visual-studio-debugger-natvis-file/15362/16):
>
> Sorry, I’ve not made the jump to 10 yet. Feel free to have a dig at the file and see if you can fix it … I’m still doing 32-bit builds.

---

<div class="post-metadata">

**Author:** ![jimc](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/jimc/32/16067_2.png) [@jimc](https://forum.juce.com/u/jimc)\
**Post date:** [October 24, 2019, 1:40pm UTC](https://forum.juce.com/t/debugging-juce-types-in-xcode/35808/4 "2019-10-24T13:40:03Z")

</div>

I’m just in the process of upgrading! 🙂 Let you know!

---

<div class="post-metadata">

**Author:** ![jimc](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/jimc/32/16067_2.png) [@jimc](https://forum.juce.com/u/jimc)\
**Post date:** [October 27, 2019, 8:23pm UTC](https://forum.juce.com/t/debugging-juce-types-in-xcode/35808/5 "2019-10-27T20:23:19Z")

</div>

The funny thing is that it does seem to be loading them into lldb just fine … you can do something like ‘type summary’ and see them there. Need to check out if they are actually workign 🙂
