社区
C语言
帖子详情
使用gdb时 no executable specified,use`target exec'是什么原因啊?
andyleeforever2008
2007-03-05 06:58:21
(gdb)run proj test.txt
Starting program: proj06 test.txt
no executable specified,use`target exec'
使用gdb时出现这个什么原因阿?
...全文
1736
8
打赏
收藏
使用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写文章
8 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
Baku
2007-04-05
打赏
举报
回复
dbx ./proj
r test.txt
看看
zhousqy
2007-04-04
打赏
举报
回复
不加-g好像不是這個出錯信息吧
lovesnow1314
2007-04-04
打赏
举报
回复
http://community.csdn.net/Expert/topic/5265/5265279.xml?temp=.3966028
是的编译的时候必须使用 -g 选项
whoho
2007-03-09
打赏
举报
回复
你看看有没有用gcc -g编译链接,另外最好是 run proj06.exe 。。。也就是要完整文件名
andyleeforever2008
2007-03-09
打赏
举报
回复
我用是gcc编译的,是控制台程序吗?
对于vc,不是很了解,只是读懂了,本质还是不很清楚。
双杯献酒
2007-03-08
打赏
举报
回复
如果是Win32程序,主函数是 WinMain
如果是控制台程序,主函数是 main
不知道你用的编程软件是哪个?
对于VC,有“工程组”(VC7以上叫“解决方案”),可以包括几个工程,
每个工程都可以生成一个exe或者dll等。
其中一个工程被设置为"活动的"(可以改变这个设置),
当你Run的时候,他就执行这个工程生成的exe文件,
如果这个工程生成的不是exe, 就会要求你指定一个exe来执行。
andyleeforever2008
2007-03-06
打赏
举报
回复
是可执行工程,编译之后生成proj06.exe
主函数 是这样写的int main(int argc, char *argv[])
jixingzhong
2007-03-05
打赏
举报
回复
no executable specified
你的工程类型是什么?
是可执行程序工程么?
【异常错误】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...
C语言
69,369
社区成员
243,082
社区内容
发帖
与我相关
我的任务
C语言
C语言相关问题讨论
复制链接
扫一扫
分享
社区描述
C语言相关问题讨论
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章