From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.51]) by sourceware.org (Postfix) with ESMTPS id A95E6385782F for ; Fri, 20 Nov 2020 13:34:07 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org A95E6385782F Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=palves.net Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=alves.ped@gmail.com Received: by mail-wm1-f51.google.com with SMTP id a186so7583544wme.1 for ; Fri, 20 Nov 2020 05:34:07 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=r56EbRiWvI1S0J9P/bLzilFxRzCmd/HjgunRg/7uT0k=; b=Ir0/aIxCGZ/QqROUbN6rLXi6WE7qtM2+VyZ12CHyoEJAN/UwY8xLpyZkCuutCrRcQG jB02ydO+W6+XP/ndFZNK9BVpG45QpH3Sm9wkm7FqGNZm5TGf3ceDs5LUlax8lQevLW18 AJq999kQ1iCX1m9zXmTNWOgzzyXzs/zj1Ye6faskvJ3pumHAZ8QUxvOrlGW7xg3jjJaB L0rWRKZ9MSZRo+VQmwhJC6EKDia3Vz//WvEJ8FwuWKf003X6tgmFVo2SM3VP3eEK41zq o1Vp+B4LBnG15AX+MHsmk0l5tBsgJW1f2ygdYCQ3YGiY7ooPd0QwUBz7b3ytWi/jbz1Q 8GLg== X-Gm-Message-State: AOAM533Iiy9Uzlfh5N0s3/G4K/l2mGU8iHRImpnWPHTGJLIoNZJF2qjf IRwQv5V651s/YrmOtekB43PvklJ7KnCJhA== X-Google-Smtp-Source: ABdhPJwFb0o/d4HXht1wK03SDdLWFcRqrKWLfq2lDcwk62y/knRFWgD1wdf0RHWE8wr1jn77sBX0XQ== X-Received: by 2002:a1c:3c84:: with SMTP id j126mr10260476wma.151.1605879246236; Fri, 20 Nov 2020 05:34:06 -0800 (PST) Received: from ?IPv6:2001:8a0:f91f:e900:642f:5bb0:6cba:b1bd? ([2001:8a0:f91f:e900:642f:5bb0:6cba:b1bd]) by smtp.gmail.com with ESMTPSA id c2sm5410141wrf.68.2020.11.20.05.34.04 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 20 Nov 2020 05:34:04 -0800 (PST) Subject: Re: how to prevent the error of "Unable to perform this action because the process is running" when set break? To: mx , gdb References: From: Pedro Alves Message-ID: <75e8d2b5-89ae-00ee-ad71-a04c95a437c9@palves.net> Date: Fri, 20 Nov 2020 13:34:03 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gdb@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Nov 2020 13:34:09 -0000 On 11/20/20 12:57 AM, mx via Gdb wrote: > I use vscode and gdb to debug my program. When I set a break, I get msg "Unable to perform this action because the process is running". How to prevent this kind of problem. I don't want to send ctrl-c signal. > That error does not come from GDB. You need to ask the question in a vscode forum.