» Debug vvvv plugins using visual studio 2005
This site relies heavily on Javascript. You should enable it if you want the full experience. Learn more.

Debug vvvv plugins using visual studio 2005

This document shows how to use visual studio 2005 to debug plugins within vvvv itself, instead of using the Plugin Hoster.

Create a new configuration

In order to be able to debug our plug-in from within vvvv, we need to set the build path to the Plugins folder.

Go to Build -> Configuration Manager

</img>

Within the Active configuration drop down, select : "<New...>"

Choose a name for your configuration (For example: vvvv-debug), and select "Debug" in the copy setting from drop down. Leave the check box checked.

This allows us to keep our old configuration when we want to do test builds, and swap to vvvv-debug when we ready for testing.

Now we need to setup our path to be able to deploy our plug-in in the vvvv folder.

Right click on your project, then choose "Properties".

Go to the "build" section, and then choose your configuration.
On the "output path" section, choose the vvvv plug-in folder.

To avoid having duplicate libraries, I also recommend to setup the Utils and PluginInterfaces references “copy local” properties to "false".

Attach visual studio debugger to vvvv process

Now your configuration is ready, we will debug our project.
Put a couple of breakpoints in your plugin, and build you plugin with the configuration above.
(Note: make sure vvvv is closed before building, otherwise it will fail).

Run vvvv.
Go to "Debug" --> Attach to process

Choose "vvvv.exe" in the list, and then click on "Attach".

The debugger will start by itself. If you add your plug-in within the vvvv patch, you should be able to follow step by step what it does now :)

Auto start vvvv when we start the debugger.

To simplify our life, we will make visual studio start vvvv automatically when we start the debugger.
We go back to our project properties
Go to the debug section.
On the "Start Action" choice, choose: "Start Program".
Then browse to have the vvvv.exe file in the box.

Now when you will press the Start Debugging button, Visual studio will start vvvv and attach itself to the process.

When your stop the debugger, vvvv will also stop by itself.

by vux

anonymous user login

Shoutbox

~4h ago

joreg: vvvvTv S02E01 is out: Buttons & Sliders with Dear ImGui: https://www.youtube.com/live/PuuTilbqd9w

~6d ago

joreg: vvvvTv S02E00 is out: Sensors & Servos with Arduino: https://visualprogramming.net/blog/2024/vvvvtv-is-back-with-season-2/

~7d ago

fleg: hey there! What's the best tool for remote work? Teamviewer feels terrible. Thanks!

~20d ago

joreg: Last call: 6-session vvvv beginner course starting November 4: https://thenodeinstitute.org/courses/ws24-5-vvvv-beginners-part-i/

~1mth ago

joreg: Missed the last meetup? You can rewatch it here: https://www.youtube.com/live/MdvTa58uxB0?si=Fwi-9hHoCmo794Ag

~1mth ago

theurbankind: When is the next big event, like node festival ?

~1mth ago

~1mth ago

joreg: Join us for the next vvvv meetup on Oktober 17th: https://visualprogramming.net/blog/2024/25.-vvvv-worldwide-meetup/

~1mth ago

joreg: 6 session beginner course part 2 "Deep Dive" starts January 13th: https://thenodeinstitute.org/courses/ws24-5-vvvv-beginners-part-ii/