GNU bug report logs - #22012
25.1.50; gdb broken by (json-string-format "doesn't start with `\"'!")

Previous Next

Package: emacs;

Reported by: martin rudalics <rudalics <at> gmx.at>

Date: Wed, 25 Nov 2015 17:50:02 UTC

Severity: normal

Found in version 25.1.50

Done: martin rudalics <rudalics <at> gmx.at>

Bug is archived. No further changes may be made.

Full log


Message #17 received at 22012 <at> debbugs.gnu.org (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: Dmitry Gutov <dgutov <at> yandex.ru>, 22012 <at> debbugs.gnu.org
Subject: Re: bug#22012: 25.1.50; gdb broken by (json-string-format "doesn't
 start with `\"'!")
Date: Thu, 26 Nov 2015 14:31:53 +0100
>> I'm trying to debug window.c.  But I have no idea if that's what
>> ‘json-read-string’ tries to read.
>
> Ah, so the problem is likely not in json.el? I figured it was.

How would I know what what ‘json-read-string’ tries to read at that
moment?  Am I supposed to instrument it?  Maybe

  (unless (char-equal (json-peek) ?\")
    (signal 'json-string-format (list "doesn't start with `\"'!")))

should report the current buffer and its value of point.

Anyway, if I understand the backtrace correctly, the current buffer
should have been "*breakpoints of emacs.exe*".

martin





This bug report was last modified 7 years and 105 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.