From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#30151: Debugger API Date: Sun, 29 Sep 2019 00:56:23 +0200 Message-ID: References: <1516251398.1364994.1239356432.7334F1AF@webmail.messagingengine.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="38505"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 30151@debbugs.gnu.org To: James Nguyen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 29 00:57:22 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iELeT-0009qs-1V for geb-bug-gnu-emacs@m.gmane.org; Sun, 29 Sep 2019 00:57:21 +0200 Original-Received: from localhost ([::1]:35308 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iELeR-0001g4-D4 for geb-bug-gnu-emacs@m.gmane.org; Sat, 28 Sep 2019 18:57:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42408) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iELeB-0001dO-IK for bug-gnu-emacs@gnu.org; Sat, 28 Sep 2019 18:57:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iELeA-0002OA-59 for bug-gnu-emacs@gnu.org; Sat, 28 Sep 2019 18:57:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42670) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iELeA-0002LO-0N for bug-gnu-emacs@gnu.org; Sat, 28 Sep 2019 18:57:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iELe9-0006iZ-Lp for bug-gnu-emacs@gnu.org; Sat, 28 Sep 2019 18:57:01 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <1516251398.1364994.1239356432.7334F1AF@webmail.messagingengine.com> Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 28 Sep 2019 22:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30151 X-GNU-PR-Package: emacs Original-Received: via spool by 30151-submit@debbugs.gnu.org id=B30151.156971140525794 (code B ref 30151); Sat, 28 Sep 2019 22:57:01 +0000 Original-Received: (at 30151) by debbugs.gnu.org; 28 Sep 2019 22:56:45 +0000 Original-Received: from localhost ([127.0.0.1]:51491 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iELds-0006hy-QZ for submit@debbugs.gnu.org; Sat, 28 Sep 2019 18:56:45 -0400 Original-Received: from mail-pf1-f170.google.com ([209.85.210.170]:45969) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iELdo-0006he-8A for 30151@debbugs.gnu.org; Sat, 28 Sep 2019 18:56:40 -0400 Original-Received: by mail-pf1-f170.google.com with SMTP id y72so3448838pfb.12 for <30151@debbugs.gnu.org>; Sat, 28 Sep 2019 15:56:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=fEVMIbB760HQDn+jp/HaH9Y9xet11SCiTQpx5JrJ+VE=; b=H9vauPQxBo0xbd6liw0OBPxnjl4CQdwoj87S7kOt7jQfn6WlyOCx2FvshAiQyFFekB /3bupeotOqOXzp7AUGNJ0W5c8BaY5PAm5oOgUsCieFOxs3h4YPDcdDOybnm4RJ+nudcR zHtfHmDqRTaOOF26OFm/t0mOk15jvwRTFE1Ig5WX4v69AEnTPC61HxL2me5XsfxRW4eJ zrQVOgNlgpCXaIscH8bn/SlGhYXZW2Qtgb4tYPmDj18Fkx0wIQkkyZf7ZzomI2Rn8Uez tRP8zB9QlLbZNbvEn/5L2fxKxFnbXXigIfYauQt5rdNKj9Sg2X3JjKwFG5dTxPOLCAAm nJUA== X-Gm-Message-State: APjAAAXbB4Npw7E/JmvSYtWbSUhv7Y7tZgrP0lsZwvignurvv1rUdRff m5Dn/sKsu6+MgZhfuyS2Oayiyetv7Uc9vnvRP7E= X-Google-Smtp-Source: APXvYqx/ft8lfjmGfcP4Pj8wMFckR3fZH0c5oGZwkjM4r76cT6e6jX0M6pRg5kLlPbCHMM+rIcSJrLacfsgFfLjjjo8= X-Received: by 2002:a63:1310:: with SMTP id i16mr15624764pgl.200.1569711394289; Sat, 28 Sep 2019 15:56:34 -0700 (PDT) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:167540 Archived-At: James Nguyen writes: > Thanks, I've submitted an issue here -> https://github.com/realgud/realgud/issues/206. > > Looking at some old code I did when adding breakpoints for lldb, it looks like I just used the marker-filter and matched against strings in the filter looking for 'breakpoint print' strings and extracting the info out after. > > That might be similar to how something like flymake/flycheck runs a *something* in a separate process and then matches strings against the output to get the error output out. > > E.g. http://ix.io/EsZ (meant just for discussion) > > I'm not sure how we can better support this flow (or if it's even a good idea) but from what I've seen the marker-filter is the one place where we can 'extract' information from the underlying debugger (using its output). Did anything ever come out of your investigations and experiments? We sure would welcome contributions and improvements to gud.el. As it stands however, this is an open issue in our bug tracker, but I can't really make out what it is concretely about. Should this issue perhaps be closed? Best regards, Stefan Kangas