For debugging in VS:
* Compile with debug options
* Launch maya
* Attach VS to Maya. CTRL+ALT+P or menu Debug->Attach to process.. . Select
Maya in the list and click Attach
* Set your breakpoints
* Load the plugin in maya and start using it. As soon as a breakpoint is
hit the program will pause and you can step trough the code in VS

To make changes you have to unload, change the code, re-compile, reload the
plugin but you don't have to restart maya.


On Mon, May 5, 2014 at 7:01 PM, sabareesh rg <[email protected]> wrote:

> These books are good
>
> http://www.davidgould.com/Books/CMP1/
>
>
> On 13 October 2013 13:20, Rishis3D <[email protected]> wrote:
>
>> hi guys,
>>
>> I learning Maya C++ API... and i'm using Visual Studio 2010.. and i like
>> to know how to debug a C++ Plugin..
>>
>> can any one help me out step by step..
>>
>> thanks
>>
>> Rishis3D
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Python Programming for Autodesk Maya" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/python_inside_maya/aff7e73a-d81e-4f13-9004-5cf9fa1e50d5%40googlegroups.com
>> .
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Python Programming for Autodesk Maya" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/python_inside_maya/CANELdJWUdpH4p--amCq72S3y1Q5rZFXvPYOs3yiAJ9uWJWQ-GA%40mail.gmail.com<https://groups.google.com/d/msgid/python_inside_maya/CANELdJWUdpH4p--amCq72S3y1Q5rZFXvPYOs3yiAJ9uWJWQ-GA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CAGkBUFcTFgAX%2BeB3kpFJqXLLLo31CGW_cR_7on1aP0OjJEr%3DFA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to