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
lines.push('| `csharp-lsp-trace.log` | LSP trace log between VS Code and the Roslyn language server |');
615
+
lines.push('| `razor.log` | Razor language support log |');
616
+
lines.push('| `csharp-settings.json` | Current C# extension settings at time of capture |');
617
+
lines.push('');
618
+
619
+
if(options.activityLogs){
620
+
lines.push('### Record Activity');
621
+
lines.push('');
622
+
lines.push(
623
+
'Activity logs capture live output recorded during the diagnostic session with the log level set to Trace.'
624
+
);
625
+
lines.push('');
626
+
lines.push('| File | Description |');
627
+
lines.push('| --- | --- |');
628
+
lines.push('| `csharp.activity.log` | C# output captured during the recording session |');
629
+
lines.push('| `csharp-lsp-trace.activity.log` | LSP trace captured during the recording session |');
630
+
lines.push('| `razor.activity.log` | Razor output captured during the recording session |');
631
+
lines.push('');
632
+
}
633
+
634
+
if(options.performanceTrace){
635
+
lines.push('### Performance Trace');
636
+
lines.push('');
637
+
lines.push(
638
+
'A `.nettrace` file captured using `dotnet-trace`. This file contains runtime events from the language server process.'
639
+
);
640
+
lines.push('');
641
+
lines.push(
642
+
'You can view this file using [PerfView](https://github.com/microsoft/perfview), [dotnet-trace convert](https://learn.microsoft.com/dotnet/core/diagnostics/dotnet-trace#dotnet-trace-convert), or Visual Studio.'
643
+
);
644
+
lines.push('');
645
+
}
646
+
647
+
if(options.memoryDump){
648
+
lines.push('### Memory Dump');
649
+
lines.push('');
650
+
lines.push(
651
+
'One or more `.dmp` files captured using `dotnet-dump`. These contain a process memory dump of the language server.'
652
+
);
653
+
lines.push('');
654
+
lines.push(
655
+
'> **WARNING**: Memory dumps contain the full process memory and may include sensitive data such as source code, file contents, and credentials loaded in memory.'
656
+
);
657
+
lines.push('');
658
+
}
659
+
660
+
if(options.gcDump){
661
+
lines.push('### GC Dump');
662
+
lines.push('');
663
+
lines.push(
664
+
'One or more `.gcdump` files captured using `dotnet-gcdump`. These contain managed heap information from the language server.'
665
+
);
666
+
lines.push('');
667
+
}
668
+
669
+
lines.push('## Sharing');
670
+
lines.push('');
671
+
672
+
lines.push('> **WARNING**: This archive may contain sensitive information such as file paths, project names,');
673
+
lines.push('> source code fragments, and other workspace-specific details. Please review the contents before');
674
+
lines.push('> sharing publicly.');
675
+
lines.push('');
676
+
677
+
lines.push(
678
+
'**Publicly**: Attach this archive to your [GitHub issue](https://github.com/dotnet/vscode-csharp/issues).'
679
+
);
680
+
lines.push('');
681
+
lines.push(
682
+
'**Privately**: If the archive contains sensitive information, upload it via the [Developer Community](https://developercommunity.visualstudio.com/dotnet/report) page and reference your GitHub issue in the description.'
0 commit comments