From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: [ELPA] New package: dape Date: Thu, 07 Dec 2023 09:13:10 +0200 Message-ID: <83jzpq32pl.fsf@gnu.org> References: <46ea1ab1-e447-4c83-9c81-2f9bd149fe91@alphapapa.net> <6964ff20-921e-beff-43a0-9570ea79aa7d@gutov.dev> <87h6m1yh1x.fsf@posteo.net> <87ttpd2e53.fsf@posteo.net> <87bkb5jb1q.fsf@posteo.net> <8734wgj4p5.fsf@posteo.net> <83il5b4ioj.fsf@gnu.org> <83bkb34gx1.fsf@gnu.org> <835y1b4673.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3884"; mail-complaints-to="usenet@ciao.gmane.io" Cc: joaotavora@gmail.com, philipk@posteo.net, dmitry@gutov.dev, john@yates-sheets.org, krister.schuchardt@gmail.com, adam@alphapapa.net, emacs-devel@gnu.org To: Daniel Pettersson Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Dec 07 08:13:46 2023 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rB8Zt-0000pG-OD for ged-emacs-devel@m.gmane-mx.org; Thu, 07 Dec 2023 08:13:45 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rB8ZM-0003ix-Gf; Thu, 07 Dec 2023 02:13:12 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rB8ZK-0003iC-Nc for emacs-devel@gnu.org; Thu, 07 Dec 2023 02:13:10 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rB8ZJ-0001lG-3X; Thu, 07 Dec 2023 02:13:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=VBcC27X7/5gBnuBG5rLlDLf5Jj1CidKmT+xGXREnO/Y=; b=MgFHAwKqO1TnCR+ozByN 4nE2tCn8snYPeXq2nXx4eq+glI+YtLw7d4ihkqt69OdMriuSxmF5bDbOY9Go88IMos7UfwuOi1ysd co1zprnlnN7OZ9O6IpwJS+/gV8SjRU4W6D0bGG5TbGKl1G089HJ4QLmhPgw+In9tEUtk8futatLtg PyvtrrAoDKKqfVrSaawBkTK9PoyytWv6GazmjOVS9hlNHp2VWNxQip/l3ghzbwx5qCoao2hgDo2eB twFobFycGzLHvaugoAZ5Hm0MXdiB6yBgVbjNUAgNkfjPXirmj/DadUjR4aU9JPTLfQ+4NlzLGtIBp XjU0eNXYO6Puvg==; In-Reply-To: (message from Daniel Pettersson on Thu, 7 Dec 2023 00:55:46 +0100) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:313582 Archived-At: > From: Daniel Pettersson > Date: Thu, 7 Dec 2023 00:55:46 +0100 > Cc: João Távora , > philipk@posteo.net, dmitry@gutov.dev, john@yates-sheets.org, > krister.schuchardt@gmail.com, adam@alphapapa.net, emacs-devel@gnu.org > > I don't think it's fair to say that DAP is primarily modeled on "other > debuggers". My opinion is that DAP has been developed to get vs code > to support launching and debugging programs in a variety of > programming languages. To use words like modeled or designed gives it > to much credit. But the adapter implementations is very capable > of getting the job done. For some reasons unbeknownst to me there has > been no big leaps in debugging, we still set breakpoints, watch > variables and step through our code. All of this and more is supported > by DAP and gdb-mi.el has the interface and keybindings to support such > a workflow, it's just tightly coupled with gdb-mi. If you want to mimic the UX of gdb-mi, in the sense that you want to support the same windows and key bindings, that is okay. But it doesn't require to take code out of gdb-mi or factor out that code. Arranging windows and binding commands to keys is a simple matter that can be coded from scratch, whereas factoring out code that wasn't supposed to be factored out is a much larger job. > Maybe it's fine as it is is and dape can incorporate improvements to > gdb-mi.el's interface and maybe vise versa. > > I made an effort to get dape to feel like it's somewhat consistent > with gdb-mi.el and to gauge the progress I would greatly appreciate > some feedback, it would be great if Eli or any other person who has > experience with gdb-mi.el could help me out. Feel free to ask specific questions, I'm sure you will get the best answers we can provide (although the person who originally wrote gdb-mi is no longer seen around here). Thanks.