标题:devc++为什么调试不了,求大神帮看看!
只看楼主
枫双
Rank: 1
等 级:新手上路
帖 子:26
专家分:5
注 册:2016-8-10
结帖率:75%
已结贴  问题点数:20 回复次数:4 
devc++为什么调试不了,求大神帮看看!

这是截图,日志
->->pre-prompt
(gdb)
->->prompt

->->post-prompt
Reading symbols from E:\求所有的水仙花数.exe...done.

->->pre-prompt
(gdb)
->->prompt

->->post-prompt
Source directories searched: C:/Program Files (x86)/Dev-Cpp/MinGW64/lib;$cdir;$cwd

->->pre-prompt
(gdb)
->->prompt

->->post-prompt
Source directories searched: C:/Program Files (x86)/Dev-Cpp/MinGW64/x86_64-w64-mingw32/lib;C:/Program Files (x86)/Dev-Cpp/MinGW64/lib;$cdir;$cwd

->->pre-prompt
(gdb)
->->prompt

->->post-prompt
Source directories searched: C:/Program Files (x86)/Dev-Cpp/MinGW64/include;C:/Program Files (x86)/Dev-Cpp/MinGW64/x86_64-w64-mingw32/lib;C:/Program Files (x86)/Dev-Cpp/MinGW64/lib;$cdir;$cwd

->->pre-prompt
(gdb)
->->prompt

->->post-prompt
Source directories searched: C:/Program Files (x86)/Dev-Cpp/MinGW64/x86_64-w64-mingw32/include;C:/Program Files (x86)/Dev-Cpp/MinGW64/include;C:/Program Files (x86)/Dev-Cpp/MinGW64/x86_64-w64-mingw32/lib;C:/Program Files (x86)/Dev-Cpp/MinGW64/lib;$cdir;$cwd

->->pre-prompt
(gdb)
->->prompt

->->post-prompt
Source directories searched: C:/Program Files (x86)/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include;C:/Program Files (x86)/Dev-Cpp/MinGW64/x86_64-w64-mingw32/include;C:/Program Files (x86)/Dev-Cpp/MinGW64/include;C:/Program Files (x86)/Dev-Cpp/MinGW64/x86_64-w64-mingw32/lib;C:/Program Files (x86)/Dev-Cpp/MinGW64/lib;$cdir;$cwd

->->pre-prompt
(gdb)
->->prompt

->->post-prompt
Source directories searched: C:/Program Files (x86)/Dev-Cpp/MinGW64/include;C:/Program Files (x86)/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include;C:/Program Files (x86)/Dev-Cpp/MinGW64/x86_64-w64-mingw32/include;C:/Program Files (x86)/Dev-Cpp/MinGW64/include;C:/Program Files (x86)/Dev-Cpp/MinGW64/x86_64-w64-mingw32/lib;C:/Program Files (x86)/Dev-Cpp/MinGW64/lib;$cdir;$cwd

->->pre-prompt
(gdb)
->->prompt

->->post-prompt
Source directories searched: C:/Program Files (x86)/Dev-Cpp/MinGW64/x86_64-w64-mingw32/include;C:/Program Files (x86)/Dev-Cpp/MinGW64/include;C:/Program Files (x86)/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include;C:/Program Files (x86)/Dev-Cpp/MinGW64/x86_64-w64-mingw32/include;C:/Program Files (x86)/Dev-Cpp/MinGW64/include;C:/Program Files (x86)/Dev-Cpp/MinGW64/x86_64-w64-mingw32/lib;C:/Program Files (x86)/Dev-Cpp/MinGW64/lib;$cdir;$cwd

->->pre-prompt
(gdb)
->->prompt

->->post-prompt
Source directories searched: C:/Program Files (x86)/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include;C:/Program Files (x86)/Dev-Cpp/MinGW64/x86_64-w64-mingw32/include;C:/Program Files (x86)/Dev-Cpp/MinGW64/include;C:/Program Files (x86)/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include;C:/Program Files (x86)/Dev-Cpp/MinGW64/x86_64-w64-mingw32/include;C:/Program Files (x86)/Dev-Cpp/MinGW64/include;C:/Program Files (x86)/Dev-Cpp/MinGW64/x86_64-w64-mingw32/lib;C:/Program Files (x86)/Dev-Cpp/MinGW64/lib;$cdir;$cwd

->->pre-prompt
(gdb)
->->prompt

->->post-prompt
Source directories searched: C:/Program Files (x86)/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include/c++;C:/Program Files (x86)/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include;C:/Program Files (x86)/Dev-Cpp/MinGW64/x86_64-w64-mingw32/include;C:/Program Files (x86)/Dev-Cpp/MinGW64/include;C:/Program Files (x86)/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include;C:/Program Files (x86)/Dev-Cpp/MinGW64/x86_64-w64-mingw32/include;C:/Program Files (x86)/Dev-Cpp/MinGW64/include;C:/Program Files (x86)/Dev-Cpp/MinGW64/x86_64-w64-mingw32/lib;C:/Program Files (x86)/Dev-Cpp/MinGW64/lib;$cdir;$cwd

->->pre-prompt
(gdb)
->->prompt

->->post-prompt
Breakpoint 1 at 0x401523: file E:\求所有的水仙花数.cpp, line 15.

->->breakpoints-invalid

->->pre-prompt
(gdb)
->->prompt

->->post-prompt

->->pre-prompt
(gdb)
->->prompt

->->post-prompt

->->pre-prompt
(gdb)
->->prompt

->->post-prompt

->->pre-prompt
(gdb)
->->prompt

->->post-prompt

->->post-prompt

->->error

->->pre-prompt
(gdb)
->->prompt

->->error-begin
E:run: No such file or directory.

->->post-prompt

->->error

->->pre-prompt
(gdb)
->->prompt

->->error-begin
No symbol "i" in current context.

->->post-prompt

->->error

->->pre-prompt
(gdb)
->->prompt

->->error-begin
No symbol "i" in current context.

->->post-prompt

->->pre-prompt
(gdb)
->->prompt

->->post-prompt

->->value-history-begin 1 -
$1 =
->->value-history-value
{<text variable, no debug info>} 0x402c88 <printf>

->->value-history-end

->->pre-prompt
(gdb)
->->prompt

->->post-prompt

->->error

->->pre-prompt
(gdb)
->->prompt

->->error-begin
The program is not being run.

->->post-prompt

->->error

->->pre-prompt
(gdb)
->->prompt

->->error-begin
The program is not being run.

->->post-prompt

->->error

->->pre-prompt
(gdb)
->->prompt

->->error-begin
The program is not being run.

->->post-prompt

->->error

->->pre-prompt
(gdb)
->->prompt

->->error-begin
The program is not being run.

->->post-prompt

->->error

->->pre-prompt
(gdb)
->->prompt

->->error-begin
The program is not being run.

->->post-prompt

->->error

->->pre-prompt
(gdb)
->->prompt

->->error-begin
The program is not being run.

->->post-prompt

->->error

->->pre-prompt
(gdb)
->->prompt

->->error-begin
The program is not being run.

->->post-prompt

->->error

->->pre-prompt
(gdb)
->->prompt

->->error-begin
The program is not being run.

->->post-prompt

->->error

->->pre-prompt
(gdb)
->->prompt

->->error-begin
The program is not being run.

->->post-prompt

->->error

->->pre-prompt
(gdb)
->->prompt

->->error-begin
The program is not being run.

->->post-prompt

->->error

->->pre-prompt
(gdb)
->->prompt

->->error-begin
The program is not being run.

->->post-prompt

->->error

->->pre-prompt
(gdb)
->->prompt

->->error-begin
The program is not being run.

->->post-prompt

->->error

->->pre-prompt
(gdb)
->->prompt

->->error-begin
The program is not being run.

->->post-prompt

->->error

->->pre-prompt
(gdb)
->->prompt

->->error-begin
The program is not being run.
搜索更多相关主题的帖子: symbols 水仙花 
2016-08-10 16:25
砖家的谎言
Rank: 12Rank: 12Rank: 12
等 级:禁止访问
威 望:30
帖 子:693
专家分:3898
注 册:2013-12-6
得分:7 
你想做什么呢?

我不是砖家,要努力成为砖家。
2016-08-10 16:35
枫双
Rank: 1
等 级:新手上路
帖 子:26
专家分:5
注 册:2016-8-10
得分:0 
回复 2楼 砖家的谎言
每次运行程序出问题,可是不知道出在哪里,所以想单步调试,看看哪里出问题了
2016-08-10 16:42
linlulu001
Rank: 13Rank: 13Rank: 13Rank: 13
等 级:贵宾
威 望:20
帖 子:944
专家分:4047
注 册:2016-4-13
得分:7 
发代码,不要发图。
根本搞不懂你想问什么。
2016-08-10 20:23
枫双
Rank: 1
等 级:新手上路
帖 子:26
专家分:5
注 册:2016-8-10
得分:0 
回复 4楼 linlulu001
你好,我是想问问我用的编程软件,dev-c++为什么不能进入调试,就是让程序一步一步的走,我单击图片上的下一步,没有任何反应,断点也正常设置了。
基本上就是想咨询这个问题。
2016-08-11 09:01



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-467738-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.155553 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved