Attaching C++ Visual studio process to 2018 issue.

Attaching C++ Visual studio process to 2018 issue.

Anonymous
Not applicable
1,485 Views
3 Replies
Message 1 of 4

Attaching C++ Visual studio process to 2018 issue.

Anonymous
Not applicable

Hey guys, I am trying to debug some code and I can't seem to debug in 2018 for some reason. It is working properly in 2016.

 

I can attach to the maya.exe and it seems fine but when I set a break point it does not catch. Anyone have a similar issue? 

 

Screenshot_108.png

 

Attaching the process:

Screenshot_107.png

0 Likes
Accepted solutions (1)
1,486 Views
3 Replies
Replies (3)
Message 2 of 4

cheng_xi_li
Autodesk Support
Autodesk Support
Accepted solution

Hi,

 

Please make sure value of Attach to is Native.

attachto.png

Sometimes automatic will make it Python.

 

Yours,

Li

0 Likes
Message 3 of 4

Anonymous
Not applicable

Thanks Cheng

0 Likes
Message 4 of 4

silenthell
Contributor
Contributor

In my case I could solve the issue of my break points not being triggered by simply unloading and re-loading the plugin inside Maya (via the menu Windows -> Settings/Preferences -> plugin-manager) while having the debugger attached. I had the issue with both Visual Studio and VS code

0 Likes