From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id 91YvEOwZ/mRoERQAWB0awg (envelope-from ) for ; Sun, 10 Sep 2023 15:33:00 -0400 Authentication-Results: simark.ca; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=duteXzq6; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 374521E0C3; Sun, 10 Sep 2023 15:33:00 -0400 (EDT) Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 2331E1E092 for ; Sun, 10 Sep 2023 15:32:58 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 530C63856DFE for ; Sun, 10 Sep 2023 19:32:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 530C63856DFE DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1694374377; bh=Los4aQB5VjwMO4xpZpbajwgc2xu+1bkjNKUhH2jG3OE=; h=References:In-Reply-To:Date:Subject:To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=duteXzq6J0Sfz4VgVft5+etft7DbiPWlw/Ti/zPa51hyl6QbLbPrpwyJ9FxjmrzDB UwZY1ZzXqCsAJTf+8ld9XM6t9lFmLqbZNn8Gn+nOkN/YDy6RTSFy5a5z7xbgGSBr2C WVvjj9Udommw8I+POdB1c4Rmv61pO4OsQOeypTQk= Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by sourceware.org (Postfix) with ESMTPS id 891AD385C8B0 for ; Sun, 10 Sep 2023 19:32:28 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 891AD385C8B0 Received: by mail-wm1-x330.google.com with SMTP id 5b1f17b1804b1-401c90ed2ecso40308965e9.0 for ; Sun, 10 Sep 2023 12:32:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694374347; x=1694979147; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Los4aQB5VjwMO4xpZpbajwgc2xu+1bkjNKUhH2jG3OE=; b=g+Vek6tTGc8CqgV3oa5xFvfE0/B0haVgJevBmsmY6itVeQsgteocEwlvdc8TiJqRAc wQFXyQOGfvcIE+xdDBSO+LBEIzvDMcwyJI4Ei8svursgpOEOjKLKsT1DnC7NAHgpscAn /PPxnygaMEwNmgOpHcAFaX6WNHjARbdCndZhCHeNklmZxwrM11E6q9DTxDuBUKK0TBVk hgWdIzGdJe84/fb+aKLmcwZEn8WHDBRfIhFJocQvbGqtbdxxXnsaSxIdpiQpm0/WmOhh Rnwzn8q10VwwNc1B9Q0S/J+NYCbyG3wJNRNS4oflrd/vgwUwd0g5h4XzNSdJPd6f2Ztv O44Q== X-Gm-Message-State: AOJu0YynrNdAd0yiSfozb1Sw2A536pWXlmrTqutwrM9C5rCSgvNnO2r4 70wwKvs9rf1XIS5pKTXrIem/Y3VW2dhallMmHbs= X-Google-Smtp-Source: AGHT+IFWAZCGsYMnnU5FJ0nmYre8N2JUjyEMQH7S6RlrNB5X0m1uMiAR0UEnyQxQMAUHaZoLjn08oXXqzlfXmTxkiww= X-Received: by 2002:adf:f988:0:b0:317:71bb:7ccd with SMTP id f8-20020adff988000000b0031771bb7ccdmr5659961wrr.52.1694374346991; Sun, 10 Sep 2023 12:32:26 -0700 (PDT) MIME-Version: 1.0 References: <769819467.544767.1694359900221.ref@mail.yahoo.com> <769819467.544767.1694359900221@mail.yahoo.com> In-Reply-To: Date: Sun, 10 Sep 2023 22:32:15 +0300 Message-ID: Subject: Re: How do I run a program step by step? To: Nemo Nusquam Cc: gdb@sourceware.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gdb@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Stefan Puiu via Gdb Reply-To: Stefan Puiu Errors-To: gdb-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb" Hi, On Sun, Sep 10, 2023 at 9:09=E2=80=AFPM Nemo Nusquam via Gdb 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.