How do you use the Immediate Window in Visual Studio?

前端 未结 3 1194
余生分开走
余生分开走 2020-11-30 16:35

The Immediate Window is an immensely useful tool for debugging applications. It can be used to execute code statements that are valid in the context of a break point and ins

3条回答
  •  情书的邮戳
    2020-11-30 17:15

    Use the Immediate Window to Execute Commands

    The Immediate Window can also be used to execute commands. Just type a > followed by the command.

    For example >shell cmd will start a command shell (this can be useful to check what environment variables were passed to Visual Studio, for example). >cls will clear the screen.

    Here is a list of commands that are so commonly used that they have their own aliases: https://msdn.microsoft.com/en-us/library/c3a0kd3x.aspx

提交回复
热议问题