From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ed1-x52d.google.com (mail-ed1-x52d.google.com [IPv6:2a00:1450:4864:20::52d]) by sourceware.org (Postfix) with ESMTPS id EC3053850858 for ; Wed, 1 Mar 2023 18:08:18 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org EC3053850858 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ed1-x52d.google.com with SMTP id cw28so8273282edb.5 for ; Wed, 01 Mar 2023 10:08:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=bevcTmAjfHkYgNf3mLVMLPZnIcP3ecbzF/SFoSgX/aI=; b=D6vBBI7Q9pEEOYpZI8dO13pavgAMeSEOUM2X/gS899mzOg5WRxFlSAhiRTdypVPAvP WC6gvNSVX61mpAuA9hnH/UWDaQhR7dCdNwuBx2WtF1r5MuahxlLEn+EgTWzpyA9hyuI1 cBSXGy7SfS39UR4ktgLVDs5a3+8dEDiu0Sbc4+ZRz2VSidavNsL+RQjpCVyw81PyqYCZ EtQ3iRuGmWKZrHGQzTpVPU9a9idTRIxtHPni0MWknTIJ7g4FDyPAgLBXTql3tv5FCL4Z 46NRuSR4U/GvIfTjIthtLI2pENCTCKQ0qVlb2f/V0tJ/lhZ+LOxwvYUM3F8Aobkd094J ycKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=bevcTmAjfHkYgNf3mLVMLPZnIcP3ecbzF/SFoSgX/aI=; b=ufxktFgWzt41Snl8VMA8ZAYLnwBe95t2mjMLi2IcO0aAP7hziloj/3lyQckuvHDTYG OOv7VOrEfoL5hmJpdZlXKIkIYJD9NzAmO/zrKmsPCdKXyBWR9IwBF9Sx3JjVW1Gqxvik 7CU/gYhaOEK/7Zqndxx5KvfZtBRTOUksJCYqoMxvxLtmQXevkLPMoturgqe1n6jHQGKl o6M1PkK9D/+wDDnyPrEbZQTemSrqeTpLrS7Wv621ntpQqYIi0DNIYMaPnfvYnGc2Eg6O hr5oDDB4aiMOWbmL5U9lBtIEJ1P43lXMQB6fzNB9xLF6qD011uX3f13J4TfU/tKw76de d6Pg== X-Gm-Message-State: AO0yUKXERzusxqdo+OYVuF2Xy7JKo5JtEm6DhEclsDftaHl/JkU5glXo wMIFtKxD1AObktafs4V7g3vXDezs/E0vqw== X-Google-Smtp-Source: AK7set+HIft1n5dkJ2dwivd+Ax+562FrJxv5I0k/0CTsY9jgq2Wz6UNDCRrzbYUcNpSMtb6287G5dA== X-Received: by 2002:aa7:cd89:0:b0:4af:69e2:529f with SMTP id x9-20020aa7cd89000000b004af69e2529fmr9042327edv.27.1677694097227; Wed, 01 Mar 2023 10:08:17 -0800 (PST) Received: from [192.168.201.25] ([109.242.177.211]) by smtp.gmail.com with ESMTPSA id d21-20020a50cd55000000b004acd9a3afb3sm3523406edj.63.2023.03.01.10.08.16 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 01 Mar 2023 10:08:16 -0800 (PST) Message-ID: Date: Wed, 1 Mar 2023 20:08:15 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: Debugging C++ frontend using CLion IDE Content-Language: en-US To: gcc@gcc.gnu.org References: From: Charalampos Mitrodimas In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,NICE_REPLY_A,RCVD_IN_BARRACUDACENTRAL,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Hi Berke, > Hi, > > I am trying to set up my environment for the upcoming google summer of > code. One thing I haven't figured out yet, how can I debug C++ frontend(or > any other language frontend) with CLion. If anybody managed to do this(or > using another IDE), could you please share your settings with me? It might be best to proceed with something that is already documented by the GCC GNU team. The best way for you to learn how to step through the code is in the documentation. See: https://gcc-newbies-guide.readthedocs.io/en/latest/debugging.html Thanks, Charalampos > > Best regards, > Berke