This project has moved. For the latest updates, please go here.

Bug: PTVS fails to attach to Mari2.6v1


When trying to attach PTVS to Mari2.6v1, while attached, not modules load in so break points fail to hit.

Repro steps:
Download Mari if you don't have it:

Launch Visual Studio and create a Python project with a module that you can set a break point in.

Launch Mari and open the Python Console palette. View > Palettes > Python Console

Attach PTVS to Mari

In Visual Studio, check the Modules to see if it's populated.

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!!


agrant3d wrote Jul 25, 2014 at 2:29 PM

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?