Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
programma per il debug [risolto]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
tolipth
Guru
Guru


Joined: 01 Dec 2003
Posts: 301

PostPosted: Tue Mar 09, 2004 10:34 am    Post subject: programma per il debug [risolto] Reply with quote

ciao,
ho provato come programma per fare il debug ddd, ma volevo qualcosa di + semplice ed intuitivo, esiste altro? (naturalmente sempre grafico e per programmi scritti in C)


Last edited by tolipth on Thu Mar 11, 2004 8:38 pm; edited 1 time in total
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Tue Mar 09, 2004 10:58 am    Post subject: Re: programma per il debug Reply with quote

tolipth wrote:
ciao,
ho provato come programma per fare il debug ddd, ma volevo qualcosa di + semplice ed intuitivo, esiste altro? (naturalmente sempre grafico e per programmi scritti in C)


Io contavo di provare Valgrind... ma non so quanto possa risultare semplcie ed intuitivo.
_________________
Ciao da me!
Back to top
View user's profile Send private message
zUgLiO
l33t
l33t


Joined: 12 Aug 2003
Posts: 754
Location: Ferrara (Italy)

PostPosted: Tue Mar 09, 2004 11:03 am    Post subject: Reply with quote

Potresti provare Kdbg , è nel portage
_________________

voglio poi dire che il tempo mi avrà fatto abituare,

ma io non trovo nemmeno brutta la stiva buia di questa nave
Back to top
View user's profile Send private message
tolipth
Guru
Guru


Joined: 01 Dec 2003
Posts: 301

PostPosted: Tue Mar 09, 2004 11:22 am    Post subject: Reply with quote

zUgLiO wrote:
Potresti provare Kdbg , è nel portage

l'ho provato, ma non mi funziona bene.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31440
Location: here

PostPosted: Tue Mar 09, 2004 2:36 pm    Post subject: Reply with quote

gdb non e' intuitivo ma una volta che lo sai utilizzare e' il meglio.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
tolipth
Guru
Guru


Joined: 01 Dec 2003
Posts: 301

PostPosted: Thu Mar 11, 2004 8:30 pm    Post subject: Reply with quote

fedeliallalinea wrote:
gdb non e' intuitivo ma una volta che lo sai utilizzare e' il meglio.

ho emerso gdb, ma quando provo ad usarlo ho un errore, credo dovuto alla cattiva configurazione, qualche idea?
Code:
bash-2.05b# gdb prova
GNU gdb 6.0
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) list
1       /var/tmp/portage/glibc-2.3.3_pre20040117/work/glibc-2.3.2/buildhere/csu/crti.S: No such file or directory.
        in /var/tmp/portage/glibc-2.3.3_pre20040117/work/glibc-2.3.2/buildhere/csu/crti.S
(gdb) break 12
Breakpoint 1 at 0x80482e4: file /var/tmp/portage/glibc-2.3.3_pre20040117/work/glibc-2.3.2/buildhere/csu/crti.S, line 12.
(gdb)

grazie
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31440
Location: here

PostPosted: Thu Mar 11, 2004 8:34 pm    Post subject: Reply with quote

Ma il programma di cui fai il debug l'hai compilato con l'opzione -g3?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
tolipth
Guru
Guru


Joined: 01 Dec 2003
Posts: 301

PostPosted: Thu Mar 11, 2004 8:38 pm    Post subject: Reply with quote

Quote:
Ma il programma di cui fai il debug l'hai compilato con l'opzione -g3?

OPS :oops: :oops: :oops: :oops:
grazie
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31440
Location: here

PostPosted: Thu Mar 11, 2004 8:39 pm    Post subject: Reply with quote

Ricordati che quando il prog funziona di ricompilarlo senza =g3 che rallenta il tutto.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum