【发布时间】:2019-12-04 09:54:48
【问题描述】:
每次我去调试代码时,它都会在 Microsoft Visual Studio Debug Console 而不是 cmd.exe 中进行调试。我是不是调试错了,因为每个教程/视频都显示CTRL + F5 直接进入cmd.exe 调试窗口。
此外,由于某种原因,我的调试窗口底部出现了一堆无用的文本。
这就是我得到的:
Hello world!
C:\Users\NAME\source\repos\Project1\Debug\Project1.exe (process 13160) exited with code 0.
To automatically close the console when debugging stops, enable Tools->Options->Debugging->Automatically close the console when debugging stops.
Press any key to close this window . . .
【问题讨论】:
标签: c visual-studio debugging cmd