How to collect ReSharper log file with a specific trace scenario?
This article is outdated, a newer article can be found here: How to collect ReSharper log file with a specific Trace scenario?
Here are the steps to collect ReSharper log file with a specific trace scenario:
- Run Visual Studio with "/ReSharper.Internal" key to start ReSharper in debug mode;
- Open ReSharper | Options | Logging. On that page, ensure that logging is turned on ("FileLogger: Enabled" is displayed at the beginning of the page);
- Turn on the %TraceScenarioName% Trace Scenario (a specific TraceScenarioName will be provided by the JetBrains team);
- Reproduce the problem;
- Provide the resulting log (to get the path to the log file, please go back to ReSharper | Options | Logging, the file path is displayed at the top of the page).
Please don't forget to disable the %TraceScenarioName% scenario after collecting the log file.
Hint:
e.g.
to run Visual Studio 2019 via a cmd.exe:
"C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\Common7\IDE\devenv.exe" /ReSharper.Internal
to run Visual Studio 2015 via a cmd.exe:
"C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe" /ReSharper.Internal
Please sign in to leave a comment.
Visual Studio 2022? :D