In the console, import the module that you set the breakpoint in and run your script. Notice that the break point does not hit.

Alternatively, you can run Mari in terminal mode. You can do this by navigating to the installation in cmd and running "Mari2.6v1.exe -t" the terminal flag should launch Mari in terminal mode with the same type of Python Console that you would see
in the GUI version.

When launched, try to attach VS to the terminal and run the module with the break point. It should connect.

I would like to find a way to get the same results from the terminal to the Mari tool.

Thanks for any help!!

file attachments

No files are attached

Closed
by

comments

Hello,
I was having a lot of trouble getting to properly attach and debug scripts in MotionBuilder. I was finally able to get it to run by recreating my project from scratch - I could not use projects created in previous versions of PTVS.

The option to run Pylint on projects was also not appearing unless I created a brand new project.

Have you have tried re-proing the above by creating a new project from scratch?