• Advertisement
Sign in to follow this  

How do you debug maya plug-ins?

This topic is 4165 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I have Visual Studio 2005 and am building a maya plug-in. Is there a way to use the VS05 debugger with the plug-in? Thanks. -Nick

Share this post


Link to post
Share on other sites
Advertisement
While I have no experience with Maya in particular, the general strategy for debugging an addin is as follows: go into the Debugging properties for the project, set the startup type to "Program" (or something similar, depending on project type) and fill in the path to the Maya executable.

When you then press F5, VS will launch Maya for you and attach the debugger. When your addin is loaded, it will proceed to also load symbols for it. Breakpoints etc should work as expected.

This is the approach I use to debug AnkhSVN, which is a VS.NET addin.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement