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:

  1. Run Visual Studio with "/ReSharper.Internal" key to start ReSharper in debug mode;
  2. Open ReSharper | Options | Logging. On that page, ensure that logging is turned on ("FileLogger: Enabled" is displayed at the beginning of the page);
  3. Turn on the %TraceScenarioName% Trace Scenario (a specific TraceScenarioName will be provided by the JetBrains team);
  4. Reproduce the problem;
  5. 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
1 out of 2 found this helpful
1 comment

Visual Studio 2022? :D

0

Please sign in to leave a comment.

Have more questions?

Submit a request