I used ddd and gdb but could not get string variables displayied and I wanted to use kwrite as my text editor. I found importing my source code to KDevelop gave me both.Originally Posted by yop
I used ddd and gdb but could not get string variables displayied and I wanted to use kwrite as my text editor. I found importing my source code to KDevelop gave me both.Originally Posted by yop
This link will allow you to watch qt types using gdb http://webcvs.kde.org//~checkout~/kd.../kde-devel-gdbOriginally Posted by impeteperry
In a few words add this line to your ~/.gdbinit :
source /[path to kde sources]/kdesdk/scripts/kde-devel-gdb
Last edited by yop; 19th January 2006 at 14:36.
Thanks. I have "ddd" & "gdb". I have /.dddinit but not /.gdbinit.Originally Posted by yop
Will this work any better then KDevelop?
You could try it yourself to see if it fits your needsAs for me I haven't used another gdb frontend than ddd for quite a while so you already know what I think. I realy find ddd an assistant of great value. You could also use both, for a quick debugging seesion launch the KDevelop integrated frontend, for more hard to find bugs that need a bit more detailed debugging use ddd. I'm just presenting you with the tools I use, the way each one of us uses them eventualy is a matter of personal preference.
Thanks You have given me a lot to think about. I have saved your suggestions and will try to upgrad my ddd as you suggested on my backup computer. I have a lot at stake in my program, and not being very confident in my ability in this knd of things I go slowly.
As i said I have used ddd in the past. I just could not display string variables. I even got used to "vi".
I on the other hand never did, I use joe instead. I just can't remember these ESC+qwzy^[my dog's age] shortcuts. Oh well I'm not too smart anywayOriginally Posted by impeteperry
![]()
@yop: nice link - I'll try it.
I'm also using vim - the first one or two weeks are hard but then it's just wonderful. Maybe we should open a editor / debugger / other tools thread
Edit: Why use ESC that's somewhat far away - I use [ctrl]+[{]much better on my keybord
Last edited by Codepoet; 23rd January 2006 at 19:50.
I think this is the one they use in KDevelop, I'm not sure thoughOriginally Posted by Codepoet
I think we've made our choicesOriginally Posted by Codepoet
But I'm sure the topic will come up eventually.
I know that you realize that I trully respect vi, it's brought up many generations of unix hackers, but I never had to use it since I'm relatively new (3 "fultime" years and still using SuseOriginally Posted by Codepoet
) to the linux community and there were many alternatives around
I've seen holy wars starting from posts like mine and I thought it was funny when I posted, now I realize it could be misunderstood.
Bookmarks