Skip to content

Commit 53b8908

Browse files
CopilotTylerMSFT
andcommitted
Refine command syntax to match specification and improve clarity
Co-authored-by: TylerMSFT <[email protected]>
1 parent da1b2f3 commit 53b8908

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/overview/how-to-report-a-problem-with-the-visual-cpp-toolset.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ Finally, attach the preprocessed repro files (*filename*.i and *modulename*.i) a
315315

316316
When issues involve C++ modules, providing a module trace file along with the preprocessed repro improves diagnostic quality and reduces turnaround time. A module trace file records detailed information about module operations during compilation.
317317

318-
1. In the developer command prompt console window, enter the command **cl /d1module:enableLogging** *trace.json* *arguments* *filename.cpp*. For *trace.json*, specify the desired output file name for the module trace. For *arguments*, use the compilation arguments. For *filename.cpp*, specify the source file that reproduces the problem.
318+
1. In the developer command prompt console window, enter the command **cl /d1module:enableLogging** *trace.json* [*other-args*] *filename.cpp*. For *trace.json*, specify the desired output file name for the module trace. For [*other-args*], include any additional compilation arguments. For *filename.cpp*, specify the source file that reproduces the problem.
319319

320320
> [!IMPORTANT]
321321
> You must compile exactly one source file to collect a module trace. Don't use the **/MP** (multi-processor compilation) option or invoke the compiler with multiple source files. Using **/MP** or multi-source invocations can cause the trace to represent only the last compiled file or be incomplete.

0 commit comments

Comments
 (0)