Skip to content

Visual Studio troubleshooting

If the steps on this page don't solve your problem, check the list of open issues in the Visual Studio plugin's project. If an issue matches your problem, update the issue. If no issues match your problem, create a new issue.

For troubleshooting the extension for GitLab Duo Code Suggestions, see Troubleshooting Code Suggestions..

View more logs

More logs are available in the GitLab Extension Output window:

  1. In Visual Studio, on the top bar, go to the Tools > Options menu.

  2. Find the GitLab option, and set Log Level to Debug.

  3. Go to View > Output to open the extension log. In the dropdown list, select GitLab Extension as the log filter.

  4. Verify that the debug log contains similar output:

    GetProposalManagerAsync: Code suggestions enabled. ContentType (csharp) or file extension (cs) is supported.
    GitlabProposalSourceProvider.GetProposalSourceAsync

View activity log

If your extension does not load or crashes, check the activity log for errors. Your activity log is available in this location:

C:\Users\WINDOWS_USERNAME\AppData\Roaming\Microsoft\VisualStudio\VS_VERSION\ActivityLog.xml

Replace these values in the directory path:

  • WINDOWS_USERNAME: Your Windows username.
  • VS_VERSION: The version of your Visual Studio installation.