Re: How do I run a program step by step?

Stefan Puiu via Gdb <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <CACKs7VC8oXXHQ2WSjQ=MeRdisnxOvHe6uun1RXhvNUuxOs5xTg@mail.gmail.com>
Hi,

On Sun, Sep 10, 2023 at 9:09 PM Nemo Nusquam via Gdb <[email protected]> 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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.