Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
最近我用nsight做CUDA编程。有时我在命令行中打印很多。leed eclipse 输出太多呀。但是在终端中我只使用 ctrl+c。在eclipse中如何控制输出流。我不希望日食卡住。
1 限位输出
您可以将输出控制台限制在
Window -> Preferences -> Run/Debug -> Limit console output
2 替代输出流
或者,您可以为您的运行/调试配置定义另一个输出流。
Run -> Debug Configurations -> select your configuration -> Tab "Common"