# Where's the debugger in the windows version

**URL:** <https://forum.juce.com/t/wheres-the-debugger-in-the-windows-version/52766>\
**Category:** Windows\
**Created:** [August 26, 2022, 7:41am UTC](https://forum.juce.com/t/wheres-the-debugger-in-the-windows-version/52766 "2022-08-26T07:41:44Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![fjb59](https://avatars.discourse-cdn.com/v4/letter/f/47e85d/32.png) [@fjb59](https://forum.juce.com/u/fjb59)\
**Post date:** [August 26, 2022, 7:41am UTC](https://forum.juce.com/t/wheres-the-debugger-in-the-windows-version/52766/1 "2022-08-26T07:41:45Z")

</div>

hello all. according to the tutorial it mentions there is a debugger and it gives a brief explanation as to where it is but i’m assuming it’s for the mac version as it makes no sense to me. How do i access the Juce debugger in Windows please so i can test my plugins?

Thank you

---

<div class="post-metadata">

**Author:** ![TheWaveWarden](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/thewavewarden/32/13708_2.png) [@TheWaveWarden](https://forum.juce.com/u/TheWaveWarden)\
**Post date:** [August 26, 2022, 2:05pm UTC](https://forum.juce.com/t/wheres-the-debugger-in-the-windows-version/52766/2 "2022-08-26T14:05:06Z")

</div>

Hi, not exactly sure what you mean by JUCE debugger or what tutorial you’re referring to, but a way to debug on Windows in Visual Studio is:

1. Start your DAW
2. Start Visual Studio (not Visual Studio Code)
3. In the top bar select Debug → Attach to Process
4. Search for your DAWs process (beware: Some DAWs use separate processes for plugins) and attach
5. Load your plugin into the DAW.

---

<div class="post-metadata">

**Author:** ![fjb59](https://avatars.discourse-cdn.com/v4/letter/f/47e85d/32.png) [@fjb59](https://forum.juce.com/u/fjb59)\
**Post date:** [August 26, 2022, 4:37pm UTC](https://forum.juce.com/t/wheres-the-debugger-in-the-windows-version/52766/3 "2022-08-26T16:37:35Z")

</div>

[https://docs.juce.com/master/tutorial\_create\_projucer\_basic\_plugin.html](https://docs.juce.com/master/tutorial_create_projucer_basic_plugin.html)  
on this page here. it tells you to set up plug in debugging.

---

<div class="post-metadata">

**Author:** ![jrlanglois](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/jrlanglois/32/21372_2.png) [@jrlanglois](https://forum.juce.com/u/jrlanglois)\
**Post date:** [August 26, 2022, 6:51pm UTC](https://forum.juce.com/t/wheres-the-debugger-in-the-windows-version/52766/4 "2022-08-26T18:51:45Z")

</div>

To be fair, JUCE talks about getting started with JUCE and not how to get started with C++ development in general. 🙂

On Windows, it’s much more common to install Visual Studio (the Community edition is free): [Visual Studio 2022 IDE - Programming Tool for Software Developers](https://visualstudio.microsoft.com/vs/)

---

<div class="post-metadata">

**Author:** ![fjb59](https://avatars.discourse-cdn.com/v4/letter/f/47e85d/32.png) [@fjb59](https://forum.juce.com/u/fjb59)\
**Post date:** [August 26, 2022, 7:04pm UTC](https://forum.juce.com/t/wheres-the-debugger-in-the-windows-version/52766/5 "2022-08-26T19:04:52Z")

</div>

yeah but it mentions it comes with a debugger, but not where the windows version one is.

---

<div class="post-metadata">

**Author:** ![jrlanglois](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/jrlanglois/32/21372_2.png) [@jrlanglois](https://forum.juce.com/u/jrlanglois)\
**Post date:** [August 26, 2022, 7:27pm UTC](https://forum.juce.com/t/wheres-the-debugger-in-the-windows-version/52766/6 "2022-08-26T19:27:07Z")

</div>

The tutorials don’t say that JUCE comes with a debugger, which it doesn’t and won’t (because that’s the job of the tools, of which are paired up with Visual Studio in this case). Instead, the tutorial only talks about how you can debug your plugin, and the steps to do so with the AudioPluginHost (which is a project in the JUCE repository).

---

<div class="post-metadata">

**Author:** ![fjb59](https://avatars.discourse-cdn.com/v4/letter/f/47e85d/32.png) [@fjb59](https://forum.juce.com/u/fjb59)\
**Post date:** [August 26, 2022, 7:44pm UTC](https://forum.juce.com/t/wheres-the-debugger-in-the-windows-version/52766/7 "2022-08-26T19:44:07Z")

</div>

take a look at that page i posted the link to. it says clearly that it has a debugger.  
" Set up plug-in debugging (optional)

One of the challenges of building plug-ins is testing them. Thankfully, JUCE makes that easy, with a built-in plug-in host. To access the host go to `extras/AudioPluginHost/` and open the `.jucer` file with the Projucer. Click **Save Project and Open in IDE…**. Then inside your IDE build the project to create a binary (which on Mac OS X you will find at `extras/AudioPluginHost/Builds/MacOSX/build`).

Run the application and you will see the graphical node editor that looks like this:  
"

---

<div class="post-metadata">

**Author:** ![jrlanglois](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/jrlanglois/32/21372_2.png) [@jrlanglois](https://forum.juce.com/u/jrlanglois)\
**Post date:** [August 26, 2022, 7:53pm UTC](https://forum.juce.com/t/wheres-the-debugger-in-the-windows-version/52766/8 "2022-08-26T19:53:16Z")

</div>

I don’t see the term “debugger” used anywhere in that page, nor understand how a debugger can be inferred from anything there.

But that’s besides the point.

Notice _“Save Project and Open in IDE”_ - that’s a command from the Projucer (which you will need to build and run):

 ![image](https://us1.discourse-cdn.com/flex026/uploads/juce/original/2X/d/d095b43d48e11f284dd752bf9b4c79150e1bf8ae.jpeg)

Before that, open the AudioPluginHost _from within_ the Projucer:

 ![image](https://us1.discourse-cdn.com/flex026/uploads/juce/original/2X/b/b4c3699bd738aa3dd0ab6b097f642c6c27b0914d.png)  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/juce/original/2X/9/9428e6bee1562c79868201d29fdb9b2756aa6218.png)

Then, you will be able to open the AudioPluginHost in your IDE (Xcode or Visual Studio, for example…) to then build it.

This is what the steps are explaining.

---

<div class="post-metadata">

**Author:** ![fjb59](https://avatars.discourse-cdn.com/v4/letter/f/47e85d/32.png) [@fjb59](https://forum.juce.com/u/fjb59)\
**Post date:** [August 26, 2022, 8:06pm UTC](https://forum.juce.com/t/wheres-the-debugger-in-the-windows-version/52766/9 "2022-08-26T20:06:10Z")

</div>

probably because it says " Set up plug-in debugging".  
but as you say, beside the point. I’ve found it and built it. it should make things simple for testing any plugin i build

---

<div class="post-metadata">

**Author:** ![mackemlad](https://avatars.discourse-cdn.com/v4/letter/m/8c91f0/32.png) [@mackemlad](https://forum.juce.com/u/mackemlad)\
**Post date:** [August 26, 2022, 10:39pm UTC](https://forum.juce.com/t/wheres-the-debugger-in-the-windows-version/52766/10 "2022-08-26T22:39:27Z")

</div>

Since there’s a difference between “testing” and “debugging” and I don’t think it was specifically detailed in earlier replies, it is worth noting that the **Set Up Plug-In Debugging** section of the tutorial does in fact provide guidance on how to fire up your IDE’s debugger (trimmed to refer only to Visual Studio, as implied by the original question):

> Used in this way the Plug-In Host gives you a very simple environment in which to test a plug-in, but there’s more that we can do. We can configure the host to enable step-through debugging of your plugin…In Visual Studio on Windows you should go to the properties page of the VST3 build target, select the “Debugging” pane, then set the path to the AudioPluginHost executable in the “Command” field.

This causes the _AudioPluginHost_ to be invoked when you debug the plug-in. Your plug-in can then be loaded and run within that host. You will then be able to set break-points in your plug-in code and do all the usual things you would expect of a debugger within Visual Studio.

If you are using tools other than Visual Studio you will need to identify the analogous steps within that toolset to setup such a configuration, but the general thrust remains the same.

---

<div class="post-metadata">

**Author:** ![fjb59](https://avatars.discourse-cdn.com/v4/letter/f/47e85d/32.png) [@fjb59](https://forum.juce.com/u/fjb59)\
**Post date:** [August 27, 2022, 11:44am UTC](https://forum.juce.com/t/wheres-the-debugger-in-the-windows-version/52766/11 "2022-08-27T11:44:03Z")

</div>

it certainly does. my concern was the location of the testing facility but found it in the extras folder under the juce base path. it sure makes testing a lot easier.

---

<div class="post-metadata">

**Author:** ![daniel](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/daniel/32/790_2.png) [@daniel](https://forum.juce.com/u/daniel)\
**Post date:** [August 28, 2022, 11:34am UTC](https://forum.juce.com/t/wheres-the-debugger-in-the-windows-version/52766/12 "2022-08-28T11:34:36Z")

</div>

FTR: you can debug your plugin in most hosts, unless they added counter measures to make reverse engineering and cracks difficult or macOS, which also makes things difficult sometimes with notarisation and crap.

There is nothing special in AudioPluginHost, except that it is as simple as possible and you have the source code, which is a huge plus.
