From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C6F253858D3C; Mon, 4 Sep 2023 08:34:37 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C6F253858D3C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1693816477; bh=cAgxyeFMvlGU0Hap2V39W4vAdnShJynIDRA4VD1D1xI=; h=From:To:Subject:Date:From; b=JcEiu1ciFNKXO2NNZoNiGjxOq8+QIMCzFz0RmBwgAQAh1KyU9m8isHQW+xyf3li2m mDNsvTANVbev1bE0CO2hAOFfPZA1zOTKy70PpX95+xkqv8rur5BLQ3BcMpz8qB3Ugz qpotC5vrT5yhlz7Wg8HxuKHzj+AsMQyJDBl7QFSo= From: "artem.sokolovskii at qt dot io" To: gdb-prs@sourceware.org Subject: [Bug dap/30821] New: "this" have no children. It comes with "variablesReference" 0. Date: Mon, 04 Sep 2023 08:34:37 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: dap X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: artem.sokolovskii at qt dot io X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D30821 Bug ID: 30821 Summary: "this" have no children. It comes with "variablesReference" 0. Product: gdb Version: HEAD Status: UNCONFIRMED Severity: normal Priority: P2 Component: dap Assignee: unassigned at sourceware dot org Reporter: artem.sokolovskii at qt dot io Target Milestone: --- I request variables for scope and get "this" in the list but it has variablesReference =3D 0. It means that the variable has no children. https://microsoft.github.io/debug-adapter-protocol/specification#Types_Vari= able I have a simple class and I should see "i" variable as a child of "this". At least I see it like this in not DAP GDB version. class myClass { public: void increment() { ++i; } private: int i =3D 0; }; Log: qtc.dbg.dapengine: dap response QJsonObject({"body":{"variables":[{"name":"this","value":"0x7fffffffda40","= variablesReference":0},{"name":"i","value":"0","variablesReference":0}]},"c= ommand":"variables","request_seq":29,"seq":208,"success":true,"type":"respo= nse"}) --=20 You are receiving this mail because: You are on the CC list for the bug.=