Sign in to follow this  

How do you debug maya plug-ins?

Recommended Posts

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this