Troubleshooting Errors in Statistical Programs
Users receiving errors when running code in a statistical program can use the following methods to troubleshoot:
Visual Studio Code
VS Code can be used within the VDE to troubleshoot / debug code.
- Activating the VDE Python Environment
- Debugging in VS Code
- Python QuickStart Guide in VS Code
- Python debugging in VS Code
Note: the linked instructions are not available within the VDE. You must open these links from an internet-connected Desktop.
VS Code Extensions
There are many VS Code Extensions available to support a variety of use cases. To request an extension be added to the VDE environment, email icpsr-help@umich.edu. Please include the name of the extension.
Local Code Troubleshooting
Exporting your Code for Local Testing
- If you suspect there may be an issue in the code or syntax file you are trying to run within the VDE, you may request that the files be exported for testing and troubleshooting outside of the VDE.
- All syntax files must undergo a standard disclosure review by ICPSR staff before being released from the VDE. Failure to obtain ICPSR review will result in a violation of your Restricted Data Use Agreement.
- To request output, please contact icpsr-help@umich.edu and provide the following details in the body of your message:
- Your approved VDE application number
- The first and last name of the project PI (as indicated on your application)
- The name of the folder within your VDE workspace in which the requested syntax files are located
- Once files have been reviewed and released from the VDE by ICPSR staff, they are no longer subject to the terms of your RDUA and may be shared with individuals outside of your approved project team, such as local IT staff or statisticians, who can assist with troubleshooting.
- The Virtual Data Enclave or its contents may not be viewed by anyone not previously approved by ICPSR on your RDUA. As a reminder, no note-taking or screenshots of the Virtual Data Enclave are allowed; to do so would be a violation of your RDUA with ICPSR and may lead to sanctions as outlined in the agreement.
Other Resources
- Stats Resources – list of recommended resources for working with Statistical Programs
- See Granting VDE Access to Institutional Support for information about granting a Statistician or IT Support professional at your institution access to the VDE to assist with troubleshooting