社区
Linux/Unix社区
帖子详情
使用gdb时 no executable specified,use`target exec'是什么原因啊?
andyleeforever
2007-03-06 01:36:47
(gdb)run proj test.txt
Starting program: proj06 test.txt
no executable specified,use`target exec'
使用gdb时出现这个什么原因阿?
...全文
1030
4
打赏
收藏
使用gdb时 no executable specified,use`target exec'是什么原因啊?
(gdb)run proj test.txt Starting program: proj06 test.txt no executable specified,use`target exec' 使用gdb时出现这个什么原因阿?
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
4 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
andyleeforever
2007-03-06
打赏
举报
回复
是用gcc编译的
如果用insight proj06.exe,如何调入test.txt啊?
初学者,不怎么会用,调不进去test.txt。
abacan
2007-03-06
打赏
举报
回复
我的意思是如果你是用gcc编译了话
growup
2007-03-06
打赏
举报
回复
gdb proj
(gdb) run test.txt
or
gdb
(gdb) file proj
(gdb) run test.txt
abacan
2007-03-06
打赏
举报
回复
编译时使用-g选项,生成可调试的文件就好了。
【异常错误】CodeBlocks无法调试 Starting the debuggee failed: No
exec
utable
specified
,
use
`
target
exec
‘
今天
使用
CodeBlocks调试的
时
候发现异常,控制台报错: Starting the debuggee failed: No
exec
utable
specified
,
use
'
target
exec
' 经过查阅资料,了解了codeblocks调试
时
出错的一些
原因
,有如下注意事项。 必须建立工程 工程名不可有空格或特殊字符,可以有字母、数字、下划线(最好不要包含中文) 编译器设置里勾选-g(产生调试符号) 重新编译项目(如果之前编译过了) 调试器设置 > Default >
Starting the debuggee failed: No
exec
utable
specified
,
use
`
target
exec
'.
从官网上下的CodeBlocks自带编译器调试器的版本17.12,运行
时
Debug调试不了 日志: Debugger name and version: GNU
gdb
(
GDB
) 7.9.1 Starting the debuggee failed: No
exec
utable
specified
,
use
`
target
exec
’. Debugger finished with status...
第一次
使用
CodeLite(no
exec
utable
specified
,
use
target
exec
错误)
第一次安装
使用
CodeLite,安装版本是V9.2,同
时
安装了MinGW-4.8.1。在编译第一个Hello工程的
时
候,编译结果0 errors and 0 warnings,但是运行没有显示结果,而且进入dgb提示no
exec
utable
specified
,
use
target
exec
错误。网上百度后从零碎的信息知道,大概Build的路径设置不对。 于是,就进入CodeLite的sett
LiteIDE调试Go提示 No
exec
utable
specified
,
use
`
target
exec
'
问题 当创建好一个 Go1 Command Project之后,我们想调试main.go
时
, F5 报错,如下图: 控制台提示: =thread-group-added,id="i1" ~"GNU
gdb
(
GDB
) 7.7\n" ~"Copyright (C) 2014 Free Software Foundation, Inc.\n" ~&a
Codeblocks汉化版以及调试问题(No
exec
utable
specified
,
use
target
exec
')
CodeBlocks 汉化 下载汉化包,百度网盘链接 提取码:xevd 下载完以后解压,将解压后的locale复制到你codeblocks的安装目录下D:\software\CodeBlocks\share\CodeBlocks,(这里提供我的目录) 复制完以后重启就能看到中文版的codeblocks了,如果还有问题请看下一步。 打开 CodeBlocks,选择 “Settings --&g...
Linux/Unix社区
23,116
社区成员
74,506
社区内容
发帖
与我相关
我的任务
Linux/Unix社区
Linux/Unix社区 应用程序开发区
复制链接
扫一扫
分享
社区描述
Linux/Unix社区 应用程序开发区
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章