[Top][All Lists]

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

bug#14183: 24.2; [PATCH] gud: perldb works with eval-ed subs

From: Dima Kogan
Subject: bug#14183: 24.2; [PATCH] gud: perldb works with eval-ed subs
Date: Thu, 11 Apr 2013 03:44:57 -0700


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:

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;


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

reply via email to

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