linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Suciu Flavius <suciuflavius@tiscali.de>
To: linux-c-programming@vger.kernel.org
Subject: Re: Line by Line debug in linux.
Date: Sat, 02 Oct 2004 09:36:33 -0700	[thread overview]
Message-ID: <cjll76$ndp$1@sea.gmane.org> (raw)
In-Reply-To: <36a2bb3d0410012346468e9cdf@mail.gmail.com>

Hi again,

1. try gdb if you like console, or with gdb+ddd for a much more GUI 
approaching
http://www.gnu.org/software/ddd/
You can run ddd and gdb under cygwin as far I know.

2. yes, -g => for debug informations
         -g -pg => for profiling, if you want ;)



Regards.


mojtaba mahdavi wrote:
> Hi. All. 
> 
> As I told before I am ( want not to be ) a windows programmer (not expert). 
> 
> There (in windows) I could debug my program line by line and watch
> execution of my program line by line and could see variables and
> more...
> 
> 1- Now how can I use same approach in linux. ( Is there any tutorials on web? ) 
> 2- Should I use some more option when compie my codes ?? 
> 
> Now I am using cygwin since I am in a migration cycle for my project ?? 
> 
> 
> Sincerely all linux programmers 
> 
> mahdavi.
> -
> To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 


  reply	other threads:[~2004-10-02 16:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-02  6:46 Line by Line debug in linux mojtaba mahdavi
2004-10-02 16:36 ` Suciu Flavius [this message]
2004-10-02 13:04   ` Jon Masters
2004-10-02 18:08     ` mojtaba mahdavi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='cjll76$ndp$1@sea.gmane.org' \
    --to=suciuflavius@tiscali.de \
    --cc=linux-c-programming@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).