首页 \ 问答 \ linux下的开发工具

linux下的开发工具

请问大家在Linux环境下用C/C++、java做软件开发分别用什么开发工具最好?谢谢大家的指教。
更新时间:2023-12-07 18:12

最满意答案

是用GDB调试吗?熟练了自然就效率高了。
调试只能人为,因为需要在你怀疑的地方设断点让程序暂停运行,并查看你所关注的关键变量的当前值及函数调用栈。
如果用脚本,脚本需要了解你的意图,就需要你提前设定好调试的条件,而且脚本本身又是需要调试的,这又何苦呢。

相关问答

更多
  • java脚本? 普通的java程序,以及使用的ant脚本,都是可以的,下载相应的编译器就都可以实现了。
  • 是用GDB调试吗?熟练了自然就效率高了。 调试只能人为,因为需要在你怀疑的地方设断点让程序暂停运行,并查看你所关注的关键变量的当前值及函数调用栈。 如果用脚本,脚本需要了解你的意图,就需要你提前设定好调试的条件,而且脚本本身又是需要调试的,这又何苦呢。
  • 一般以 #!/bin/sh 开头(不是必须要写,但一定要单独一行),指定执行这个脚本的shell程序(也可以用#!/bin/zsh或其他),然后就是堆命令了。Linux的shell脚本支持很多功能,加上Linux高度模块化的命令,完全可以用shell脚本写出复杂的程序。 以上只是简单介绍如何开始写shell脚本,如果要写复杂的脚本,还需要深入学习相关知识(如if——fi、case——esac等结构)。 当然,还需要给脚本加上可执行权限(chmod +x ./file.sh),否则可以用 sh ./file. ...
  • keil 只能调试cortex-m3,m4这些的裸机程序,最多也就是ucos,linux kernel就不行咯~要调试arm linux kernel的话,就的用RVDS和DS-5了,但是RVDS已经停止更新了,最好的选择就是DS-5了,目前很流行~~可以到米尔官网看教程和下载:http://www.myir-tech.com/resource.asp?nid=16。
  • 开发板有个接受命令的接口或触发条件,根据约定的方式去触发即可。
  • 打开ISE,菜单的“edit”-“preference”,“integrated tools”,选择对应工具的安装路径,保存。
  • 把执行perl脚本的指令放在反引号之间 ./test `perl -e 'print "A"x128'` `这个符号在键盘tab的上边,1的左边 还可以放在$()中 ./test $(perl -e 'print "A"x128') 这个test是一个linux命令,最好不要用作程序名
  • 准备好连接linux服务器的工具,推荐用xshell和xftp。   xshell 是一个强大的安全终端模拟软件,它支持SSH1, SSH2, 以及Microsoft Windows 平台的TELNET 协议。   下载地址:http://www.jb51.net/softs/56322.html   Xftp 是一个基于 MS windows 平台的功能强大的SFTP、FTP 文件传输软件。   下载地址:http://www.jb51.net/softs/81853.html   安装完毕后打开xshe ...
  • 方法一: sh -x script.sh-x选项会将运行到的脚本内容显示在屏幕上,前面有个+号。这样就知道哪句被执行到了。对调试很有帮助。 方法二:在脚本中使用debug开关适用于只调试部分脚本的情况。 set -x 搜索……(要调试的代码段) set +x 然后sh script.sh运行脚本 方法三: 在脚本中添加打印比如搞个log输出函数,专门用于打印调试相关信息。 _log(){ if [ “$_DEBUG” = “true” ]; then echo “调试信息” fi }只要在外面控制$_DEB ...
  • $(document).keydown(function(e){ e为捕获的按键,通过判断键值来区分按键,从而做你想做的事情。 });

相关文章

更多

最新问答

更多
  • 您如何使用git diff文件,并将其应用于同一存储库的副本的本地分支?(How do you take a git diff file, and apply it to a local branch that is a copy of the same repository?)
  • 将长浮点值剪切为2个小数点并复制到字符数组(Cut Long Float Value to 2 decimal points and copy to Character Array)
  • OctoberCMS侧边栏不呈现(OctoberCMS Sidebar not rendering)
  • 页面加载后对象是否有资格进行垃圾回收?(Are objects eligible for garbage collection after the page loads?)
  • codeigniter中的语言不能按预期工作(language in codeigniter doesn' t work as expected)
  • 在计算机拍照在哪里进入
  • 使用cin.get()从c ++中的输入流中丢弃不需要的字符(Using cin.get() to discard unwanted characters from the input stream in c++)
  • No for循环将在for循环中运行。(No for loop will run inside for loop. Testing for primes)
  • 单页应用程序:页面重新加载(Single Page Application: page reload)
  • 在循环中选择具有相似模式的列名称(Selecting Column Name With Similar Pattern in a Loop)
  • System.StackOverflow错误(System.StackOverflow error)
  • KnockoutJS未在嵌套模板上应用beforeRemove和afterAdd(KnockoutJS not applying beforeRemove and afterAdd on nested templates)
  • 散列包括方法和/或嵌套属性(Hash include methods and/or nested attributes)
  • android - 如何避免使用Samsung RFS文件系统延迟/冻结?(android - how to avoid lag/freezes with Samsung RFS filesystem?)
  • TensorFlow:基于索引列表创建新张量(TensorFlow: Create a new tensor based on list of indices)
  • 企业安全培训的各项内容
  • 错误:RPC失败;(error: RPC failed; curl transfer closed with outstanding read data remaining)
  • C#类名中允许哪些字符?(What characters are allowed in C# class name?)
  • NumPy:将int64值存储在np.array中并使用dtype float64并将其转换回整数是否安全?(NumPy: Is it safe to store an int64 value in an np.array with dtype float64 and later convert it back to integer?)
  • 注销后如何隐藏导航portlet?(How to hide navigation portlet after logout?)
  • 将多个行和可变行移动到列(moving multiple and variable rows to columns)
  • 提交表单时忽略基础href,而不使用Javascript(ignore base href when submitting form, without using Javascript)
  • 对setOnInfoWindowClickListener的意图(Intent on setOnInfoWindowClickListener)
  • Angular $资源不会改变方法(Angular $resource doesn't change method)
  • 在Angular 5中不是一个函数(is not a function in Angular 5)
  • 如何配置Composite C1以将.m和桌面作为同一站点提供服务(How to configure Composite C1 to serve .m and desktop as the same site)
  • 不适用:悬停在悬停时:在元素之前[复制](Don't apply :hover when hovering on :before element [duplicate])
  • 常见的python rpc和cli接口(Common python rpc and cli interface)
  • Mysql DB单个字段匹配多个其他字段(Mysql DB single field matching to multiple other fields)
  • 产品页面上的Magento Up出售对齐问题(Magento Up sell alignment issue on the products page)