You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: SUPPORT.md
+18-3Lines changed: 18 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -68,7 +68,7 @@ For issues with Razor, the Razor Log output window can contain useful informatio
68
68
4.**Reset the Log Level**:
69
69
- Once the logs are collected, reset the log level to `Info`.
70
70
71
-
####Project Loading Problems
71
+
### Project Loading Problems
72
72
73
73
Missing language features are often caused by a failure to load the project(s) or solution. To diagnose and resolve these issues, follow these steps:
74
74
@@ -86,7 +86,7 @@ Missing language features are often caused by a failure to load the project(s) o
86
86
- If you are using C# Dev Kit, check the Solution Explorer to ensure the project is displayed with the expected references.
87
87
- If the references or structure are not as expected, include the contents of the `Projects` output window in your issue report.
88
88
89
-
####Colorization problems
89
+
### Colorization problems
90
90
If you encounter issues with document classification (e.g., incorrect syntax highlighting or colorization), please provide the following information to help us diagnose the problem:
91
91
92
92
1.**Theme in Use**:
@@ -101,7 +101,7 @@ If you encounter issues with document classification (e.g., incorrect syntax hig
101
101
102
102

103
103
104
-
####Diagnostics problems
104
+
### Diagnostics problems
105
105
106
106
For issues with diagnostics, please provide values of the background analysis scope options, `dotnet.backgroundAnalysis.analyzerDiagnosticsScope` and `dotnet.backgroundAnalysis.compilerDiagnosticsScope`
@@ -116,6 +116,21 @@ If the language server crashes, general logs are often helpful for diagnosing th
116
116
> [!WARNING]
117
117
> The dump can contain detailed information on the project - generally we will provide an email so that it can be shared privately
118
118
119
+
#### Recording a language server trace
120
+
121
+
When investigating performance issues, we may request a performance trace of the language server to diagnose what is causing the problem. These are typically taken via [dotnet-trace](https://learn.microsoft.com/en-us/dotnet/core/diagnostics/dotnet-trace) (a cross platform tool to collect performance traces of .NET processes)
122
+
123
+
The C# extension has a built in command, `csharp.recordTrace` to help with trace collection. This command will install `dotnet-trace` as a global tool and invoke it against the language server.
124
+
125
+
1. Invoke the `csharp.recordTrace` command
126
+

127
+
2. Select the folder to save the trace.
128
+
3. Accept the default trace arguments, or change them if requested
129
+

130
+
4. A new terminal window will open to run the trace collection. While the trace is running, reproduce the peformance issue. When done, hit <Enter> or <Ctrl+C> in the trace window to stop the trace
131
+

132
+
5. Share the trace. Note that the trace may contain PII, so generally we will provide an email or other confidential way to share the trace with us.
133
+
119
134
## Microsoft Support Policy
120
135
121
136
Support for this project is limited to the resources listed above.
0 commit comments