From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Itai Berli Newsgroups: gmane.emacs.devel Subject: Re: Help getting started debugging Emacs on macOS Sierra Date: Fri, 11 Aug 2017 18:34:08 +0300 Message-ID: References: <87556904-541c-6ef5-5a2b-9b7199ffb603@cs.ucla.edu> <7b152bb1-5768-633c-8b7a-172cc6227a26@cs.ucla.edu> <83valuqvmw.fsf@gnu.org> <83poc2qjc3.fsf@gnu.org> <83o9rmqh0j.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a1149221eb86bbb05567c0dd5" X-Trace: blaine.gmane.org 1502465716 712 195.159.176.226 (11 Aug 2017 15:35:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 11 Aug 2017 15:35:16 +0000 (UTC) Cc: Emacs developers To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 11 17:35:12 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dgBxs-00086j-3i for ged-emacs-devel@m.gmane.org; Fri, 11 Aug 2017 17:35:08 +0200 Original-Received: from localhost ([::1]:50255 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dgBxy-00046V-Ft for ged-emacs-devel@m.gmane.org; Fri, 11 Aug 2017 11:35:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56320) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dgBxg-00042c-Ut for emacs-devel@gnu.org; Fri, 11 Aug 2017 11:34:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dgBxf-00030Q-GC for emacs-devel@gnu.org; Fri, 11 Aug 2017 11:34:56 -0400 Original-Received: from mail-wr0-x22d.google.com ([2a00:1450:400c:c0c::22d]:37473) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dgBxd-0002y6-Le; Fri, 11 Aug 2017 11:34:53 -0400 Original-Received: by mail-wr0-x22d.google.com with SMTP id 33so14658730wrz.4; Fri, 11 Aug 2017 08:34:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=F282MQFkSuWasph6jkpAFE4bUKUuqyp3DZxLapa6+Sc=; b=HdXVIuFJFaVZQ5PceSfsHkg7tX1FKcgI/CIc7QStYcSGROJEGvK8xYiyxqkH6MSXpF RgUXpR8WhqtgMM2c33hlDf5PwYBHw4DkIlWe9Rn10lDD4cm9/YTwlBUYKqrYDiDI14zW EsSWay/J8ZqnAmggrkGuhdDMEZuckuYQNx1OK0AKToFFAv2uUqNw9wrgVQdD7Y3SlWxq uzw8WkY3NMDxcQpdX2+kWJ6CQ+sG/I8A79Vx1hCE3044T1+bzh6WNQAeqU3Qe3+tQ/1l KuDei7LHk/l47gFCvgcQjlcYe31wZ31KkgtltNlH1EedvQKzFvs5rcoNWRuEk7EW9WlC +dXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=F282MQFkSuWasph6jkpAFE4bUKUuqyp3DZxLapa6+Sc=; b=bQ4WBD2nLI2ykg9zFm3RWkSMGiiG9YtBV5twxWzNvOK8lEqnoVfVy6XlqLQmYU7HOL 5Mk1Ar0k/BmKpSO4URih09BDxgBHDhJyG/ApU4OhFkNFEnMLvmbRn9F709QBLvmNVgGh Ntwdn6pYNU/cKGXrDr/pdoVk7qvbWYAgi8sm+duyJOQdNZQPMc1tkDe1y6XKGT46liGr s/zL1uyBN5/Y2NcKEJtoGYpVyz/vC+LhKwCPYXRsOmZRCz6rTzdu4TO9e9oMuKzVTtD2 TfbfkhmC/gFwNGfN6TDVkuVWeG2FMamPJlhPUTU7ZooT/hsPF9GU2ehsOUcwRDiTJ6tW uWKQ== X-Gm-Message-State: AHYfb5g2LoirSVT1BOIdghu/jarMdNI/gtxc5oKokpzZIAUbeeispps9 bHCwrXt5qVlYwcS8o+Fz5MYxjQ4eFNpL X-Received: by 10.223.133.201 with SMTP id 9mr13178087wru.177.1502465689675; Fri, 11 Aug 2017 08:34:49 -0700 (PDT) Original-Received: by 10.28.197.196 with HTTP; Fri, 11 Aug 2017 08:34:08 -0700 (PDT) In-Reply-To: <83o9rmqh0j.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::22d X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:217440 Archived-At: --001a1149221eb86bbb05567c0dd5 Content-Type: text/plain; charset="UTF-8" > Tell me what you want to do and with what text, and then I might be able to help you do that in a more useful way. I just want to get more familiar with the bidi algorithm and the way it is implemented by Emacs. I'd like to try various small phrases, such as the ones that can be found in this article: https://www.w3.org/In ternational/articles/inline-bidi-markup/uba-basics On Fri, Aug 11, 2017 at 6:08 PM, Eli Zaretskii wrote: > > From: Itai Berli > > Date: Fri, 11 Aug 2017 17:42:25 +0300 > > Cc: Tino Calancha , Emacs developers < > emacs-devel@gnu.org> > > > > I have GDB 8.0, so it should work well, right? It appears, though, that > there are fewer buttons in the debug > > toolbar when the debugger is started with gdb than when it is started > with gud-gdb. > > Try "M-x gdb-many-windows RET", maybe you will like the result. > > > Eli, which function is the entry point for the bidi module? Where should > I set a breakpoint for starters? > > The entry point is bidi_get_next_char_visually. (See the beginning of > bidi.c for this and other information.) > > However, setting a simple breakpoint there will cause that breakpoint > be hit all the time, and will therefore be useless. Tell me what you > want to do and with what text, and then I might be able to help you do > that in a more useful way. > > --001a1149221eb86bbb05567c0dd5 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
> Tell me what yo= u=C2=A0want to do and with what tex= t, and then I might be able to help you do
that in a more useful way.
=

I just want to get more familiar with the bidi al= gorithm and the way it is implemented by Emacs. I'd like to try various= small phrases, such as the ones that can be found in this article:=C2=A0https://www.w3.org/International/articles/inl= ine-bidi-markup/uba-basics

On Fri, Aug 11, 2017 at 6:08 PM, Eli Zaretskii <eliz@gn= u.org> wrote:
> From: It= ai Berli <itai= .berli@gmail.com>
> Date: Fri, 11 Aug 2017 17:42:25 +0300
> Cc: Tino Calancha <tino.calancha@gmail.com>, Emacs developers <emacs-devel@gnu.org&g= t;
>
> I have GDB 8.0, so it should work well, right? It appears, though, tha= t there are fewer buttons in the debug
> toolbar when the debugger is started with gdb than when it is started = with gud-gdb.

Try "M-x gdb-many-windows RET", maybe you will like the re= sult.

> Eli, which function is the entry point for the bidi module? Where shou= ld I set a breakpoint for starters?

The entry point is bidi_get_next_char_visually.=C2=A0 (See the begin= ning of
bidi.c for this and other information.)

However, setting a simple breakpoint there will cause that breakpoint
be hit all the time, and will therefore be useless.=C2=A0 Tell me what you<= br> want to do and with what text, and then I might be able to help you do
that in a more useful way.


--001a1149221eb86bbb05567c0dd5--