* Line by Line debug in linux.
@ 2004-10-02 6:46 mojtaba mahdavi
2004-10-02 16:36 ` Suciu Flavius
0 siblings, 1 reply; 4+ messages in thread
From: mojtaba mahdavi @ 2004-10-02 6:46 UTC (permalink / raw)
To: linux-c-programming
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Line by Line debug in linux.
2004-10-02 6:46 Line by Line debug in linux mojtaba mahdavi
@ 2004-10-02 16:36 ` Suciu Flavius
2004-10-02 13:04 ` Jon Masters
0 siblings, 1 reply; 4+ messages in thread
From: Suciu Flavius @ 2004-10-02 16:36 UTC (permalink / raw)
To: linux-c-programming
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
>
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: Line by Line debug in linux.
2004-10-02 16:36 ` Suciu Flavius
@ 2004-10-02 13:04 ` Jon Masters
2004-10-02 18:08 ` mojtaba mahdavi
0 siblings, 1 reply; 4+ messages in thread
From: Jon Masters @ 2004-10-02 13:04 UTC (permalink / raw)
To: Suciu Flavius; +Cc: linux-c-programming
On Sat, 02 Oct 2004 09:36:33 -0700, Suciu Flavius
<suciuflavius@tiscali.de> wrote:
> You can run ddd and gdb under cygwin as far I know.
There is a graphical version of gdb called insight, which is used by
MS Windows gdb users.
http://sources.redhat.com/insight/
Folks like the people at Xilinx use insight for their tools (which is
what I'm pointing out in the sentence above by users of gdb on
Windows) and it works quite nicely.
Jon.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Line by Line debug in linux.
2004-10-02 13:04 ` Jon Masters
@ 2004-10-02 18:08 ` mojtaba mahdavi
0 siblings, 0 replies; 4+ messages in thread
From: mojtaba mahdavi @ 2004-10-02 18:08 UTC (permalink / raw)
To: jonathan; +Cc: linux-c-programming
Thanks in advance.
Best of regards.
I will follow your guide lines.
On Sat, 2 Oct 2004 14:04:14 +0100, Jon Masters <jonmasters@gmail.com> wrote:
> On Sat, 02 Oct 2004 09:36:33 -0700, Suciu Flavius
> <suciuflavius@tiscali.de> wrote:
>
> > You can run ddd and gdb under cygwin as far I know.
>
> There is a graphical version of gdb called insight, which is used by
> MS Windows gdb users.
>
> http://sources.redhat.com/insight/
>
> Folks like the people at Xilinx use insight for their tools (which is
> what I'm pointing out in the sentence above by users of gdb on
> Windows) and it works quite nicely.
>
> Jon.
>
>
> -
> 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
>
--
(>:<)
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-10-02 18:08 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-02 6:46 Line by Line debug in linux mojtaba mahdavi
2004-10-02 16:36 ` Suciu Flavius
2004-10-02 13:04 ` Jon Masters
2004-10-02 18:08 ` mojtaba mahdavi
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).