• Welcome to World Machine Community. Please login or sign up.
September 15, 2019, 09:43:03 am


Read the Development Diary for an inside look at World Machine's progress!

Question: Debugging while developping plugins for WM Pro

Started by howardzzh, June 30, 2007, 08:02:13 pm

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.


Hi guys,
     I have a really beginner's question; how do you go about debugging while write the plugin code? Is there any other way to spit out text besides the text output in the WM Pro. So far, I couldn't find any way to enable console output. I would really appreciate any help. Thank you!


I'd recommend using MSVC's debugger directly!

In the project settings, Under Debugging set the "Command" item to the path to your WM executable.

I like to add a post-build action as well that copies the just-built DLL to the plugin folder.

In any case, once you've done the above just just hit F5 which will first build the plugin, and then launch WM with the Debugger attached to the process.

Set a breakpoint in your Activate() function. Add the device to the world and you'll drop into the debugger as soon as WM calls your code.
-- Stephen Schmitt
- Creator of World Machine



Quick Reply

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Note: this post will not display until it's been approved by a moderator.

Please leave this box empty:
Type the letters shown in the picture
Listen to the letters / Request another image

Type the letters shown in the picture:

Shortcuts: ALT+S save/post or ALT+P preview