如何在Code :: Blocks 12.11中指定调试器程序? [英] How do you specify a debugger program in Code::Blocks 12.11?

查看:252
本文介绍了如何在Code :: Blocks 12.11中指定调试器程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试逐步执行程序,并且从Code :: Blocks

I am trying to step through my program and I get the following message from Code::Blocks

Selecting target: 
Debug
ERROR: You need to specify a debugger program in the debuggers's settings.
(For MinGW compilers, it's 'gdb.exe' (without the quotes))
(For MSVC compilers, it's 'cdb.exe' (without the quotes))

不幸的是,我不知道要在哪里输入gdb.exe。

Unfortunately, I cannot figure out where I would type in gdb.exe.

推荐答案


  • 在Code :: Blocks IDE中,导航设置-> 调试器

    在右侧的树控件中,选择通用-> GDB / CDB调试器-> 公共

    In the tree control at the right, select Common -> GDB/CDB debugger -> Common.

    然后在左侧对话框中输入可执行路径并选择
    调试器类型 = GDB或CDB,以及配置其他各种选项。

    Then in the dialog at the left you can enter Executable path and choose Debugger type = GDB or CDB, as well as configuring various other options.

    这篇关于如何在Code :: Blocks 12.11中指定调试器程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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