如何从&QUOT逸出;没有可用的源代码"步进错误当在Eclipse的一个标准输入输出功能(C语言,使用CDT) [英] How can i Escape from "no source available" errors when stepping OVER a stdio function in eclipse (C language, using CDT)

查看:214
本文介绍了如何从&QUOT逸出;没有可用的源代码"步进错误当在Eclipse的一个标准输入输出功能(C语言,使用CDT)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用Eclipse来写C code和使用Eclipse调试器试图调试code /

I'm using eclipse to write C code and attempting to debug code using the eclipse debugger/

在调试它给了我没有可用的源代码的错误,当我试图跳过stdio函数。我已经包括 stdio.h中

While debugging it gives me "No source available" errors, when I'm trying to step over stdio functions. I have included stdio.h

有没有办法忽略这些错误?

Is there a way to ignore these errors?

它们实际上没有造成程序崩溃(这是由段错误引起的其他地方),但我想看看发生了什么与Eclipse的工具发生的事情,而不是通过Cygwin和GDB下去。

They're not actually causing the program to crash (that's caused by a segfault elsewhere), but I'd like to look into what's happening with eclipse's tools rather than going through cygwin and GDB.

推荐答案

一个。日食在Linux上为其调试一般来说使用GDB。结果
B.尝试下一个,跳过或完成,如果你是一个标准输入输出函数,而不是'步入'之内。

A. Eclipse uses GDB on linux for its debugging generally speaking.
B. Try 'next', 'step over' or 'finish' if you are within a stdio function instead of 'step into'.

这篇关于如何从&QUOT逸出;没有可用的源代码"步进错误当在Eclipse的一个标准输入输出功能(C语言,使用CDT)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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