From: Stefan Puiu <stefan.puiu@gmail.com>
To: Nemo Nusquam <cym224@gmail.com>
Cc: gdb@sourceware.org
Subject: Re: How do I run a program step by step?
Date: Sun, 10 Sep 2023 22:32:15 +0300 [thread overview]
Message-ID: <CACKs7VC8oXXHQ2WSjQ=MeRdisnxOvHe6uun1RXhvNUuxOs5xTg@mail.gmail.com> (raw)
In-Reply-To: <ab61a981-d2e4-328d-5fe6-73b269457d30@gmail.com>
Hi,
On Sun, Sep 10, 2023 at 9:09 PM Nemo Nusquam via Gdb <gdb@sourceware.org> wrote:
>
> On 2023-09-10 11:31, Jason Long via Gdb wrote:
> > Hello,How to run an .exe file step by step and see what happens at each step of execution? For example, what files the program creates or deletes and...
> > Any idea welcomed.
> > Thank you.
> The official documentation is here:
> https://sourceware.org/gdb/current/onlinedocs/gdb.html/
The sample session in the gdb manual
(https://sourceware.org/gdb/current/onlinedocs/gdb.html/Sample-Session.html#Sample-Session)
is a good introduction, I think. It shows the basic commands and walks
you through a debugging session where you run some code, print
variables etc.
Stefan.
>
> If that is too advanced or succinct for you, searching for "gdb
> tutorials" will reward you with dozens of tutorials.
>
> N.
prev parent reply other threads:[~2023-09-10 19:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <769819467.544767.1694359900221.ref@mail.yahoo.com>
2023-09-10 15:31 ` Jason Long
2023-09-10 18:09 ` Nemo Nusquam
2023-09-10 19:32 ` Stefan Puiu [this message]
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='CACKs7VC8oXXHQ2WSjQ=MeRdisnxOvHe6uun1RXhvNUuxOs5xTg@mail.gmail.com' \
--to=stefan.puiu@gmail.com \
--cc=cym224@gmail.com \
--cc=gdb@sourceware.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 read-only IMAP folder(s) and NNTP newsgroup(s).