告诉我如何调试GNU C项目 [英] tell me how to debug GNU C project

查看:85
本文介绍了告诉我如何调试GNU C项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我是GNU项目的新手。现在我要开始一个GNU c项目了。

我可以编译它,我想知道里面的代码。



运行这个项目时,应该给出一个包含要处理的数据的输入文件。

我也可以这样做。



我的第一个问题是。现在我通过使用aclocal,automake --add-missing,autoreconf,。/ configure和make命令从终端(Cygwin)编译这个GNU c项目。实在是太多了。无论如何使用NetBeans做到这一切?只需单击运行或类似的东西?



我的第二个问题:有没有办法用NetBeans调试它,比如在visual studio c#项目中逐步调试?如何处理给定的输入数据并了解源代码?



是否可以使用NetBeans完成?



提前致谢



Best,

Hi,

I am new to GNU project. now I am going to work on a GNU c project.
I am OK with compiling it, and I want to know the code inside.

when run this project, should give a input file which contains data to process.
I also can do that.

My first question is that. Now I am compiling this GNU c project from terminal (Cygwin),by using "aclocal","automake --add-missing", "autoreconf","./configure" and "make" commands. it is too much. is there anyway do all this using NetBeans? simply click run or something like that?

my second question: is there any way to debug it with NetBeans, like step by step debugging in visual studio c# projects? how can I fellow the processing of given input data and know about the source code?

are those can be done with NetBeans?

Thanks in advance

Best,

推荐答案

使用Google并输入GNU C调试器可以获得269000次点击,第一次点击是

https://www.gnu.org/software/gdb/ [ ^ ]

这是一个很好的起点。



你可能想看看 http://www.codeblocks.org/ [ ^ ]让您的生活更轻松。





您在第一个版本的问题中甚至没有提到NetBeans!好吧,对于NetBeans应用相同的。转到Google,输入netbeans debugger,然后输入la,结束:

https ://netbeans.org/features/java/debugger.html [ ^ ]

有时,知道如何搜索信息已经完成了一半的工作。
Using Google and typing "GNU C debugger" gives you 269000 hits, the first of which is
https://www.gnu.org/software/gdb/[^]
which is a good place to start.

And you might want to take a look at http://www.codeblocks.org/[^] to make your life a little easier.


You didn't even mention NetBeans in the first version of you question! Ok, for NetBeans applies the same. Go to Google, enter "netbeans debugger", and a la, you end up on:
https://netbeans.org/features/java/debugger.html[^]
Sometimes, to know how to search for information is already half of the job done.


这篇关于告诉我如何调试GNU C项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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