Hi Nils, I am posting my problem for the first time in the group. So please bear with me.
Does anyone have any idea how to debug the Maya QT plugin in c++. I even tried to follow all those steps which they have mentioned in Maya SDK docs. My "*QApplication *app*" returns "*NULL*" in debug mode and works only in release mode. I truly need help in this one, Does any one know how to do this... Thanks, Tushar On Tuesday, 6 May 2014 19:33:56 UTC+5:30, Nils wrote: > > 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]<javascript:> > > wrote: > >> These books are good >> >> http://www.davidgould.com/Books/CMP1/ >> >> >> On 13 October 2013 13:20, Rishis3D <[email protected] <javascript:>>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]<javascript:> >>> . >>> 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] <javascript:>. >> 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/fbbee651-7a14-4d40-a2b9-91ca2ac36d94%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
