Re: [LIP] Debugging issue
Rupal Haribhakti <rupalph-/[email protected]>
| Newsgroups | gmane.user-groups.linux.india.programmers |
|---|---|
| Message-ID | <[email protected]> |
You can use ltrace/strace pid to see function calls the program is calling. It is possible, it is stuck in infinite loop, using this commands, you will able to find out which system calls/user functions it is stuck. --- Amod Malviya <[email protected]> wrote: > you can also add the process id of the running > program to debug a running process rather than > spawning a new one: > > gdb <executable> <pid> > > > ----- Original Message ----- > From: "Josy P. Pullockara" > <[email protected]> > Date: Thu, 10 Jun 2004 13:12:41 +0530 > To: linux-india-programmers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > Subject: Re: [LIP] Debugging issue > > > On Thu, 2004-06-10 at 12:39, Kapil Sethi wrote: > > > How can we debug a program that shows the > maximum CPU usage. > > > > On linux: > > gdb executable-name > > > > That is how you begin to debug any program! > > > > That answers your question. If you want any other > information you need > > to provide appropriate questions. > > > > Regards. > > -- > > Josy P. Pullockara <[email protected]> > > National Aerospace Laboratories > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: GNOME > Foundation > > Hackers Unite! GUADEC: The world's #1 Open Source > Desktop Event. > > GNOME Users and Developers European Conference, > 28-30th June in Norway > > http://2004/guadec.org > > _______________________________________________ > > linux-india-programmers mailing list > > linux-india-programmers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > > > https://lists.sourceforge.net/lists/listinfo/linux-india-programmers > > -- > ______________________________________________ > Check out the latest SMS services @ > http://www.linuxmail.org > This allows you to send and receive SMS through your > mailbox. > > > Powered by Outblaze > > > ------------------------------------------------------- > This SF.Net email is sponsored by: GNOME Foundation > Hackers Unite! GUADEC: The world's #1 Open Source > Desktop Event. > GNOME Users and Developers European Conference, > 28-30th June in Norway > http://2004/guadec.org > _______________________________________________ > linux-india-programmers mailing list > linux-india-programmers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > https://lists.sourceforge.net/lists/listinfo/linux-india-programmers __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org