From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from omta036.useast.a.cloudfilter.net (omta036.useast.a.cloudfilter.net [44.202.169.35]) by sourceware.org (Postfix) with ESMTPS id 143123858C5E for ; Mon, 22 Jan 2024 13:45:23 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 143123858C5E Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=tromey.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=tromey.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 143123858C5E Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=44.202.169.35 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1705931128; cv=none; b=a4PLcyq95qh8haIEDBPJ/LSp4o/UDo4ZMZzGhqi3Y3qZ1rDZ+d79xVrGpulO8Rf6wEyohtoWQJcrXkBk2Ia/AAf4b9B5JKuFVAApRXGICvHj0fm7mXjMxVqgBltqPzF9+b8usZclQn5N4IHROZWYl0ErNTXi0W4kbeq7tqq52Wg= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1705931128; c=relaxed/simple; bh=FH38tckitSfGSpaqwkPjSRc2DL1sCHi/sytS66fngpE=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=IpQkZffnLlDl5A5sy+RElSu0UeD5P9IrZX3oaxl8UOrCZE2PhNmXnNLCU129zSeEi7m3T0ifSVPIeAPJ/As9T2WnSAPC9bi1nCgLsZ61DZ+3ck+VUhV279GobtVjhW7dCJi74Yq8XGFkZV3J/Yt8SCZTWpII4sEgdGrRbqx3uM4= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from eig-obgw-6001a.ext.cloudfilter.net ([10.0.30.140]) by cmsmtp with ESMTPS id RuKPraOGn8uLRRuc5rMxzf; Mon, 22 Jan 2024 13:45:21 +0000 Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTPS id Ruc4riXmoWRcnRuc5rS3F4; Mon, 22 Jan 2024 13:45:21 +0000 X-Authority-Analysis: v=2.4 cv=OPo0YAWB c=1 sm=1 tr=0 ts=65ae7171 a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=dEuoMetlWLkA:10 a=Qbun_eYptAEA:10 a=NEAV23lmAAAA:8 a=dlyelub006djPHZKlpoA:9 a=zgiPjhLxNE0A:10 a=ZXulRonScM0A:10 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:References :Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=8A9yi17y23+UPC+ZtDKh6xrJrMHwiAQk3aB7ItBnKL4=; b=DxWfKkeoOb/WEa6eDjqA3gK5Os TRNKF/yKDTo6R6PemcKUfP5lgb1RyzIYCJAF03ksydADpy7QcvPp446ibDa66xYj5l7kaJqPCCerG 6bFsh+HYwH3GRJZX7AaUwazfl; Received: from 97-122-68-157.hlrn.qwest.net ([97.122.68.157]:57362 helo=murgatroyd) by box5379.bluehost.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1rRuc4-003XVM-1K; Mon, 22 Jan 2024 06:45:20 -0700 From: Tom Tromey To: Akseli Lahtinen Cc: Tom Tromey , gdb@sourceware.org Subject: Re: Help with setting up DAP for Kate text editor References: <170539709501.26.7046470475324272764@startmail.com> <878r4ong93.fsf@tromey.com> <3020567.otQIP8See3@fedora-desktop> X-Attribution: Tom Date: Mon, 22 Jan 2024 06:45:19 -0700 In-Reply-To: <3020567.otQIP8See3@fedora-desktop> (Akseli Lahtinen's message of "Sun, 21 Jan 2024 19:03:10 +0200") Message-ID: <877ck1lbww.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - box5379.bluehost.com X-AntiAbuse: Original Domain - sourceware.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tromey.com X-BWhitelist: no X-Source-IP: 97.122.68.157 X-Source-L: No X-Exim-ID: 1rRuc4-003XVM-1K X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 97-122-68-157.hlrn.qwest.net (murgatroyd) [97.122.68.157]:57362 X-Source-Auth: tom+tromey.com X-Email-Count: 2 X-Org: HG=bhshared;ORG=bluehost; X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-CMAE-Envelope: MS4xfFcp+JmPRk9+YOIcOGXp2IpA683BAiTM+tyXEC877Gl5a6SnL7DqZ2QU6FaAk7Trc8LeVfYNW/Sl9luwbH99Bts/UfYIKNFJ4C0oSppv4udWpy6qLt4Y CJoeSac+MnP6ktwpJmM465VcTVHolz34HTeMb+KJTOF7wlYfhpxs6xTkfoNoI76CVdvyQIqGWW+xYQ== X-Spam-Status: No, score=-3016.6 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,JMQ_SPF_NEUTRAL,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: >>>>> Akseli Lahtinen writes: > Hey, sorry for the late response. > I have requested an account to the sourceware bugzilla so I can > create a separate bug report, but here's the logs I got from running the > command. Thank you. The problem seems clear to me: > READ: <<<{"arguments": null, "command": "configurationDone", "seq": 2, "type": > "request"}>>> Here, 'arguments' is documented as: interface ConfigurationDoneRequest extends Request { command: 'configurationDone'; arguments?: ConfigurationDoneArguments; } In gdb, I assumed that optional things would simply not be provided. It isn't clear to me that 'null' is a valid value here. I filed an DAP clarification bug to find out: https://github.com/microsoft/debug-adapter-protocol/issues/456 If this is in fact valid, it's easy to fix. I have a patch for it already, but I'd prefer not to land it if this request is invalid. Tom