comp.lang.ada
 help / color / mirror / Atom feed
From: David Marceau <davidmarceau@sympatico.ca>
Subject: Re: which debugger?
Date: Wed, 24 Dec 2003 03:10:39 -0500
Date: 2003-12-24T03:10:39-05:00	[thread overview]
Message-ID: <3FE949FF.FDEDB7C@sympatico.ca> (raw)
In-Reply-To: 6b257ddc.0312220125.3af1233b@posting.google.com

antonio wrote:
> 
> hi,
> it's about 1 month that i try to hack with ada and i find it
> wonderful. Now i spend some time to choose the appropriate tools for
> development. I am an emacs user and i obiovsly like ada-mode for
> emacs. i try to debug in emacs and everything seem to work, but i want
> more, i see that gvd has in its features the capability of looking for
> the sources related with the projects and other smart stuffs probably
> based on gnat tools. But gvd seems to me full of bugs.. is it only an
> impression? Can i have the same gvd features on emacs? I run gvd 1.2.0
> Thank you in advance.
Yes you could use gvd for simple stuff and yes it is convenient since it does
have a nice visual display for watching contents of locals and globals.

The other added advantage is that you can configure gvd to coexist with
gdbremote i.e debugging from another computer.
Do remember though it is just a gui to gdb itself.  Whatever gvd does you can
display the information from the command line.
Sure use emacs/gvd/whatever but in the end you're using gdb.  So why not just
read the gdb manual and get it over with?
You'll also be better for it.
Some frequently used commands:
file "some.exeorbin"
file "some.dllorso
attach someProcessIDPointingToAnEXEOrDLLwithDebugInfoCompiledIntoIt
info func somefunctionyouknow*
info locals
info globals
break blah.c:999
print blahvar
step
next
cont
run
list
quit

Hope it helps.



      parent reply	other threads:[~2003-12-24  8:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-22  9:25 which debugger? antonio
2003-12-22 23:06 ` Stephen Leake
2003-12-24  8:10 ` David Marceau [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox