Debugging with Microsoft® Visual Studio

If you have Microsoft Visual Studio, you can use it to debug an IronPython script that is running.

For example, to debug an extension running in Mechanical:

  1. Start Visual Studio.

  2. For the Attach to field, verify that the Managed (v.4.0) code type is selected.

  3. Attach the AnsysWBU.exe process.

  4. After attaching the process, open your IronPython code and set some breakpoints into it.


Release 18.2 - © ANSYS, Inc. All rights reserved.