对于一般环境的确可以使用gdb,但是有两点很郁闷
1 gdb不支持动态库调试,不知道7.2有没有改观
2 很多环境下根本没办法使用gdb,比如嵌入式环境

顺便,推荐一个牛逼的ide codeblocks,这货能挂多个编译器,如果要使用交叉编译器的地方
另外,这货的代码浏览能力比sourceinsight差不了多少


在 2011-11-3,23:56,cnhack TNT <[email protected]> 写道:

> 貌似 GDB 里 print 也可以打印出结构
> 
> 2011/11/3 万朝伟 <[email protected]>
> 尤其希望c语言有
> 
> 
> 
> 在 2011-11-3,23:25,cnhack TNT <[email protected]> 写道:
> 
>> Smart::Comme
>> 另外,其实 print + Data::Dumper 就很王道了,真希望所有的语言都有 Data::Dumper
>> 
>> 2011/11/3 woosley. xu. <[email protected]>
>> Smart::Comments[1] is a great substitution for 'print'
>> 
>> 
>> [1]http://search.cpan.org/~chorny/Smart-Comments-1.0.4/lib/Smart/Comments.pm
>> 
>> 在 2011年11月3日 下午6:23,mingwei hu <[email protected]>写道:
>> 
>> I am using "prinr" either.It sucks.
>> want a share,too.
>> thanks.
>> 
>> 在 2011-11-3 下午5:51,"yi wang" <[email protected]>写道:
>> -- 
>> 您收到此邮件是因为您订阅了 Google 网上论坛的“PerlChina Mongers 讨论组”论坛。
>> 要向此网上论坛发帖,请发送电子邮件至 [email protected]。
>> 要取消订阅此网上论坛,请发送电子邮件至 [email protected]。
>> 若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。
>> 
>> 
>> 
>> -- 
>> woosley.xu.    http://twitter.com/redicaps
>> 
>> 
>> 
>> 
>> -- 
>> 您收到此邮件是因为您订阅了 Google 网上论坛的“PerlChina Mongers 讨论组”论坛。
>> 要向此网上论坛发帖,请发送电子邮件至 [email protected]。
>> 要取消订阅此网上论坛,请发送电子邮件至 [email protected]。
>> 若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。
>> 
>> -- 
>> 您收到此邮件是因为您订阅了 Google 网上论坛的“PerlChina Mongers 讨论组”论坛。
>> 要向此网上论坛发帖,请发送电子邮件至 [email protected]。
>> 要取消订阅此网上论坛,请发送电子邮件至 [email protected]。
>> 若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。
> 
> -- 
> 您收到此邮件是因为您订阅了 Google 网上论坛的“PerlChina Mongers 讨论组”论坛。
> 要向此网上论坛发帖,请发送电子邮件至 [email protected]。
> 要取消订阅此网上论坛,请发送电子邮件至 [email protected]。
> 若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。
> 
> -- 
> 您收到此邮件是因为您订阅了 Google 网上论坛的“PerlChina Mongers 讨论组”论坛。
> 要向此网上论坛发帖,请发送电子邮件至 [email protected]。
> 要取消订阅此网上论坛,请发送电子邮件至 [email protected]。
> 若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。

-- 
您收到此邮件是因为您订阅了 Google 网上论坛的“PerlChina Mongers 讨论组”论坛。
要向此网上论坛发帖,请发送电子邮件至 [email protected]。
要取消订阅此网上论坛,请发送电子邮件至 [email protected]。
若有更多问题,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问此网上论坛。

回复