Re: Reading someone else's source...?
- From: Turner <turner25@xxxxxxxxx>
- Date: Fri, 8 Feb 2008 07:47:30 -0800 (PST)
On Feb 7, 5:54 am, Rainer Weikusat <rweiku...@xxxxxxxxxxx> wrote:
Turner <turne...@xxxxxxxxx> writes:
On Feb 6, 4:05 pm, Rainer Weikusat <rweiku...@xxxxxxxxxxx> wrote:
Turner <turne...@xxxxxxxxx> writes:
I've started a personal project and I'm trying to modify some
program (no license stuff involved, it's all private dev, bla bla).
So, I've opened the code in my favorite editor and pffff.... well,
I'm trying hard to understand but what I read in the source doesn't
(yet) fit with what I see when running the program.
I'm wondering. Could the use of debugger help me understand (like
"You are here" kind of thing) ? If so, I'd probably use gdb, unless
you guys come up with other suggestions...
I would rather embed output statements (eg printf) to help with
runtime control flow analysis.
I'm reading through the manual of gdb and I think a mixture of the two
techniques would be best...
... and you are wrong.
Excellent, brief yet probably the most constructive post ever seen
yet.
Thanks for your time!
.
- Follow-Ups:
- Re: Reading someone else's source...?
- From: Rainer Weikusat
- Re: Reading someone else's source...?
- References:
- Reading someone else's source...?
- From: Turner
- Re: Reading someone else's source...?
- From: Rainer Weikusat
- Re: Reading someone else's source...?
- From: Turner
- Re: Reading someone else's source...?
- From: Rainer Weikusat
- Reading someone else's source...?
- Prev by Date: Re: Catching SIGSEGV
- Next by Date: Re: Reading someone else's source...?
- Previous by thread: Re: Reading someone else's source...?
- Next by thread: Re: Reading someone else's source...?
- Index(es):
Relevant Pages
|