# Debugging AUv3 Plugin with auvaltool

**URL:** <https://forum.juce.com/t/debugging-auv3-plugin-with-auvaltool/23386>\
**Category:** Audio Plugins\
**Created:** [July 20, 2017, 6:57am UTC](https://forum.juce.com/t/debugging-auv3-plugin-with-auvaltool/23386 "2017-07-20T06:57:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jfjs](https://avatars.discourse-cdn.com/v4/letter/j/8edcca/32.png) [@jfjs](https://forum.juce.com/u/jfjs)\
**Post date:** [July 20, 2017, 6:57am UTC](https://forum.juce.com/t/debugging-auv3-plugin-with-auvaltool/23386/1 "2017-07-20T06:57:48Z")

</div>

Hello!  
Quick question: I am trying to debug my AUv3 Plugin (let’s say the JUCE Demo AUv3Synth) by using the auvaltool and setting breakpoints in Xcode.

Adding the auvaltool as the extension schemes executable and passing in the corresponding arguments seems to work and the console outputs the correct auval test of my plugin. But my problem is that it is not hitting any of my breakpoints.

The same process with the AUv2 Demo Plugin of the JUCE library works correctly and hits all breakpoints.

Am I missing something?

---

<div class="post-metadata">

**Author:** ![fr810](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/fr810/32/841_2.png) [@fr810](https://forum.juce.com/u/fr810)\
**Post date:** [July 24, 2017, 9:05am UTC](https://forum.juce.com/t/debugging-auv3-plugin-with-auvaltool/23386/2 "2017-07-24T09:05:06Z")

</div>

It’s really hard to debug AUv3s as the AUv3 will run in it’s own process. I’ve had some success by putting a sleep in the constructor of my plugin and then attaching to the AUv3 process to debug it. ☹

---

<div class="post-metadata">

**Author:** ![jfjs](https://avatars.discourse-cdn.com/v4/letter/j/8edcca/32.png) [@jfjs](https://forum.juce.com/u/jfjs)\
**Post date:** [July 25, 2017, 9:03am UTC](https://forum.juce.com/t/debugging-auv3-plugin-with-auvaltool/23386/3 "2017-07-25T09:03:56Z")

</div>

Thanks for your reply, I will look into that!
