GNU bug report logs -
#25194
25.1; Python debugger breakpoint error
Previous Next
Reported by: Live System User <nyc4bos <at> aol.com>
Date: Tue, 13 Dec 2016 10:12:01 UTC
Severity: normal
Tags: moreinfo, unreproducible, wontfix
Found in version 25.1
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #28 received at control <at> debbugs.gnu.org (full text, mbox):
tags 25194 unreproducible
quit
Live System User <nyc4bos <at> aol.com> writes:
>
> I never used this command before -- so I tried it:
>
> M-x debug-on-entry RET gud-break
>
> When trying to set a breakpoint, I got a *Backtrace*:
>
> Debugger entered--Lisp error: (wrong-type-argument stringp nil)
> file-name-directory(nil)
> gud-format-command("break %d%f:%l" 4)
It looks like buffer-file-name-localized in gud-format-command is nil
for you, though I don't see how that's possible and I can't reproduce
this here.
(defun gud-format-command (str arg)
(let ((insource (not (eq (current-buffer) gud-comint-buffer)))
(frame (or gud-last-frame gud-last-last-frame))
(buffer-file-name-localized
(and (buffer-file-name)
(or (file-remote-p (buffer-file-name) 'localname)
(buffer-file-name))))
...
((eq key ?d)
(setq subst (file-name-directory (if insource
buffer-file-name-localized
(car frame))))
This bug report was last modified 7 years and 364 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.