# Debugging in xcode

**URL:** <https://forum.juce.com/t/debugging-in-xcode/3542>\
**Category:** MacOSX and iOS\
**Created:** [January 15, 2009, 6:49pm UTC](https://forum.juce.com/t/debugging-in-xcode/3542 "2009-01-15T18:49:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jfee](https://avatars.discourse-cdn.com/v4/letter/j/ed655f/32.png) [@jfee](https://forum.juce.com/u/jfee)\
**Post date:** [January 15, 2009, 6:49pm UTC](https://forum.juce.com/t/debugging-in-xcode/3542/1 "2009-01-15T18:49:08Z")

</div>

Hi,

I’m very new to XCode…this is a dumb question newb question, I’m certain…

I’m working on a VST plugin. I have it working fine on the pc. Now I’m using Xcode to make a mac version.

Is there a trick to debugging in XCode. On the pc I just built it, open cubase, and when I opened the plugin, MSVC would latch on and break at the breakpoints, etc. It was all pretty straightforward.

In XCode, I compile a debug version, open it up in the DAW, the plugin works but XCode doesn’t latch on…

What crucial steps am I missing?

(I’m running Xcode 3 and Juce 1.46, in OSX10.5.6, compiling in debug mode for 10.5, intel)

Any help appreciated.

Thanks,

jay

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://forum.juce.com/u/jules)\
**Post date:** [January 15, 2009, 7:21pm UTC](https://forum.juce.com/t/debugging-in-xcode/3542/2 "2009-01-15T19:21:30Z")

</div>

You have to add a “custom executable” to the project, which you point at your host - then you can run it and it’ll launch the host under the debugger.
