• Welcome to World Machine Community. Please login or sign up.
 
August 22, 2019, 06:25:21 pm

News:

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



Post reply

The message has the following error or errors that must be corrected before continuing:
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.
Other options
Verification:
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

Topic summary

Posted by howardzzh
 - July 01, 2007, 07:32:50 am
Excellent! Just what I wanted. Thank you so much for the help!
Posted by Stephen
 - July 01, 2007, 02:57:42 am
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.
Posted by howardzzh
 - June 30, 2007, 08:02:13 pm
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!