Redirect to text file
-
Set the option Redirect all Output Window text to the Immediate Window.
We find it inTools → Options → Debugging → General
(fifth to last item). -
Open the
Immediate Window
:Ctrl + Alt + I
orDebug → Windows → Immediate Window
Enter a command like the following in the Immediate window:
> Tools.LogCommandWindowOutput /on C:\mylogfile.txt
To stop writing to the file, enter the following command in the Immediate window:
> Tools.LogCommandWindowOutput /off
>
is needed, you should type it.
https://stackoverflow.com/questions/2586933/how-do-i-redirect-output-from-the-visual-studio-debugger
basic debug command
print the value of var
? var
标签:redirect,Window,Immediate,window,command,Tools
From: https://www.cnblogs.com/Searchor/p/17525674.html