Skip to content

Latest commit

 

History

History
43 lines (25 loc) · 1.29 KB

vscpp_debugging_setup.md

File metadata and controls

43 lines (25 loc) · 1.29 KB

Visual Studio Debugging in Maya CPP API

Property Setup

Project -> Properties -> Configuration Properties -> Debugging

Switch Debugger to launch to Remote Windows Debugger
Remote Command : Your Maya application location
For example, C:\Program Files\Autodesk\Maya2017\bin\maya.exe

And Attach set to Yes

vs cpp debugging setup

Start Debugging

DEBUG -> Start Debugging
Swith to Remote Windwos Debugger
Or press <F5> to start debugging

vs cpp remote debugging

Before debugging, you must copy *.mll to the folder that Maya can be find.
But if the plug-in has been loaded by Maya, Can not override it.
So you have to unload plug-in before copy.

vs cpp debugging start

Debugging Attach

You can join break point (F9), if attach Maya successful, it should be red point.

vs cpp debugging attach

But if no attached, it will be white point.

vs cpp debugging no attach

Debug Step

Use Step Into <F11> and Step Over <F10> to step debugging

vs cpp debugging step