为代码块安装MinGW的gdb.exe [英] Installing MinGW's gdb.exe for Code Blocks

查看:375
本文介绍了为代码块安装MinGW的gdb.exe的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嘿,我真的需要帮助.

我最近再次开始对C ++进行编程,我正在尝试启动并运行代码块,但由于该错误,它始终会失败.

I have recently started programming C++ again and I am trying to get Code Blocks up and running but it keeps failing because of this error.

错误:您需要在调试器的设置中指定调试器程序."

"ERROR: You need to specify a debugger program in the debuggers's settings."

这可以理解,这意味着没有调试器程序,因此我必须下载一个程序.我试图找到MinGW的gdb.exe,但根本找不到.我刚结束使用MinGW的Installation Manager并感到困惑.

Understandably this means there isn't a debugger program so I have to download one. I tried to find the gdb.exe for MinGW but I can't find it at all. I just end up with the MinGW's Installation Manager and being left confused.

是否有针对初学者或愿意帮助的人使用MinGW的教程?

Are there any tutorials about using the MinGW written for beginners or anyone willing to help?

谢谢.

推荐答案

添加gdb.exe的步骤 打开MinGW Installation Manager 从列表中选择软件包"mingw32-gdb". 然后在安装"菜单中选择应用更改". 这将自动在路径C:\ MinGW \ bin中安装gdb.exe.

Steps to add gdb.exe Open MinGW Installation Manager select package "mingw32-gdb" from the list. Then select "Apply Changes" in Installation menu. This will automatically install gdb.exe in the path C:\MinGW\bin.

这篇关于为代码块安装MinGW的gdb.exe的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆