Using the Wing IDE with Maya (excerpt from the Maya User Guide)

Source: Internet
Author: User
1. Copy the wingdbstub.py from the Wing IDE installation directory to the Maya Python script path. 2. Make sure that enable passive listening is selected in the Wing IDE > Edit > Preferences > Debugger to allow connections from external processes. Windows may pop up a dialog box requesting authorization to open the communication port. You should allow this situation. 3. Start Maya and make sure that the Python script can be successfully imported and run. 4. In the Wing IDE, open the same script. Use the F9 key or click leftmost to set breakpoints. 5. In Maya, execute the Python statement
Import Wingdbstub

Windows may pop up another authorization dialog box, requesting authorization. You should allow this situation.

6. Check in the wing IDE; the status indicator in the lower left of the Wing IDE's main window should be green. This indicates that a remote debugging connection has been established and Maya is running. 7. In Maya, call the Python function that contains the breakpoint. When the breakpoint is reached, the status indicator turns yellow to indicate that Maya is paused. The next line of code to be executed will be highlighted by the red line. 8. You can now check the status of your program using all the debugging features of the Wing IDE. Press the F5 key or the Green Play button to return control to Maya.

Using the Wing IDE with Maya (excerpt from the Maya User Guide)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.