emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#14182: closed (24.2; [PATCH] gud: perldb works wit


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#14182: closed (24.2; [PATCH] gud: perldb works with eval-ed subs)
Date: Fri, 19 Apr 2013 16:05:01 +0000

Your message dated Fri, 19 Apr 2013 11:59:20 -0400
with message-id <address@hidden>
and subject line Re: bug#14182: updated patch
has caused the debbugs.gnu.org bug report #14182,
regarding 24.2; [PATCH] gud: perldb works with eval-ed subs
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
14182: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=14182
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 24.2; [PATCH] gud: perldb works with eval-ed subs Date: Thu, 11 Apr 2013 03:50:30 -0700
Hi.

This is a patch to fix a specific case that makes 'M-x perldb' unable to
step through some code.

When debugging through a subroutine defined in an eval, perldb uses a slightly
different string to communicate the debugger position. This patch updates the
regex in gud-perldb-marker-filter to be able to parse this string.

An example of a "normal" string:
 ^Z^Z/tmp/tst.pl:6:0

An example of a sub-in-eval string that can now be parsed:
 ^Z^Z(eval 5)[/tmp/tst.pl:6]:3:0

Sample perl source that couldn't be stepped through before, and now can be:

 eval 'sub f
 {
   print 34;
 }
 ';

 f();

Attachment: 0001-gud-perldb-works-with-eval-ed-subs.patch
Description: patch


--- End Message ---
--- Begin Message --- Subject: Re: bug#14182: updated patch Date: Fri, 19 Apr 2013 11:59:20 -0400 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)
> I used the patch in the original report for a while, and stumbled on
> another, related case that emacs doesn't handle. I'm attaching an
> updated patch that handles both cases (described in the patch). I've
> also broken up the regex for improved readability.

Thanks.  Installed with a minor change (I merged the two searches into
a single one, using the \(?N:...\) form).


        Stefan


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]