美文网首页
vs2010输出调试信息

vs2010输出调试信息

作者: Mixqum | 来源:发表于2017-04-01 13:53 被阅读0次

    具体方法:
    1.菜单栏:
    工具->选项->调试->勾选"将所有输出窗口文本重定向到即时窗口"
    2.使用Console.WriteLine或Write添加调试信息
    3.调出输出窗口
    调试->窗口->选择输出

    原问题

    I am new to C#. I am trying to write a message to output window for debugging purposes. I searched for a function like java's system.out.println("")
    . Tried Debug.Write
    , Console.Write
    ,Trace.Write
    . It does not give an error but not print anything too.
    "Define DEBUG constant" and "Define TRACE constant" options are checked.
    Tools > Options > Debugging > "Redirect all Output Window text to the Immediate Window" option is not checked.
    Configuration: Active (Debug)
    Note: I created project with wizard as "Windows Forms Application" if relevant. I have no idea where to look.
    ==================================================================
    `

    相关文章

      网友评论

          本文标题:vs2010输出调试信息

          本文链接:https://www.haomeiwen.com/subject/pryiottx.html