使用 Eclipse IDE 单步执行程序

发布于 2024-12-13 17:34:19 字数 303 浏览 5 评论 0原文

我如何一次一行地执行程序。

另外,如何查看控制台输入?

我最近在这里安装了 Eclipse IDE:

http://www.eclipse.org/downloads/

Eclipse IDE适用于 C/C++ 开发人员(包括孵化组件)

这是我所在位置的快照

How do I step through the program one line at time.

Also, how do I view the console input?

I recently installed Eclipse IDE here:

http://www.eclipse.org/downloads/

Eclipse IDE for C/C++ Developers (includes Incubating components)

Here is a snapshot of the where I am at

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

李白 2024-12-20 17:34:19

转到“运行”、“调试配置”,然后单击“调试器”选项卡。

确保选择了 gdb 调试器。如果没有,请单击“浏览”找到 gdb.exe。它可能位于您的安装目录中(我指的是 eclipse 的 /bin 子目录下)。

希望有帮助。 :D

Go to Run, Debug Configurations and click the Debugger tab.

Make sure that there is a gdb debugger selected. If not click Browse find the gdb.exe. It will probably be in your installation directory (of eclipse I mean under the /bin subdir).

Hope it helped. :D

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文