From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) by sourceware.org (Postfix) with ESMTPS id C30D7384F033 for ; Wed, 1 Mar 2023 18:10:04 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C30D7384F033 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-wm1-x32b.google.com with SMTP id m14-20020a7bce0e000000b003e00c739ce4so48992wmc.5 for ; Wed, 01 Mar 2023 10:10:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=7rwGZ0yVkUxeC17U+uRDcCZ3uP0X1nR9ntxJIu+P664=; b=SBRCDH774HfBdlneQAsAQW6ih/Ydwjc1Ixj3o1TPArE/cZnZQx9HGK9utUM2B1aDUN c3rt3OgYVUjSBzlHSd56fOjxQx40p4/td28GYvaFI1QVTzWZS8tuCyIESag5GIVt5DOa SV+4H6iI27B/j2IC/yzGqSPUEYsiv/ncgjh6hew1GZ5if3sfWn9+9GjU+pnGi4o3rFvg HrVUS/kMr1TmbFOH170XAVmE0Rez+lfNYAeXA59FYiPH1bWHmoiHbiu1ct8r1H0x22KB xfPIU8Ci0lDXZBl9pxcOdajCTVveByD2ztrOO5YW8myAfAguYkcoCoKCiYEObRv0++1R 8brA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=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=7rwGZ0yVkUxeC17U+uRDcCZ3uP0X1nR9ntxJIu+P664=; b=UoKMwEhVU0I/RFSoFqD7qyYLeMfUSu1zEBkclRf985OYboNOhYSCxWkE2As+l50Jbi OnXzL7UwjhZjhCFqgaGW1pvVQOv3oeq/QDMuIYFbCNCNFaFDCSv87kTRV2E3OOKtLgwy WnucZn9ndRVxzNI2eU3XAjDST1JLNVCoB1rKG7vFKmgG7+jbqaNhNUp3Bs95shwVYXCC OdsuF+8tbJKo+oVeHTVEc0V7/rXoIgE3AKyfezw4ESBqp3YtW5p7WufcgzY7p4MrVlhA ItyiJf98jwqzUqJUzAnB3xpDQk3fpGl6MjL7cBeDZ/T5SLZl0rmJ5NBK31bjDuFPhqz4 zcWw== X-Gm-Message-State: AO0yUKVc8GFLI4wbSGBw6kqJ6YYbIIf9WDR5g7xjqzQrNPb6sSjy78hB rI53VrHtI5C/0CGLr+TmugjUa/EDCOQI3lCN++C6p0cApAesp0QS X-Google-Smtp-Source: AK7set8jRNLNYFFLSs46wxck0VXtmmuHceiHP6szdbPBbttm9Yd9quMzkJZ+IrW4OAIvMQaQ8nbiE8vxpibvOBVOm68= X-Received: by 2002:a05:600c:54c2:b0:3df:e471:4ef6 with SMTP id iw2-20020a05600c54c200b003dfe4714ef6mr2083764wmb.2.1677694203366; Wed, 01 Mar 2023 10:10:03 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Charalampos Mitrodimas Date: Wed, 1 Mar 2023 20:09:52 +0200 Message-ID: Subject: Re: Debugging C++ frontend using CLion IDE To: Berke Yavas Cc: gcc@gcc.gnu.org Content-Type: multipart/alternative; boundary="00000000000008922a05f5da9fe5" X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE,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 List-Id: --00000000000008922a05f5da9fe5 Content-Type: text/plain; charset="UTF-8" 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 --00000000000008922a05f5da9fe5--