Subject: | No error message is shown with Mouse under the perl debugger. |
Date: | Fri, 29 Mar 2013 13:31:52 -0400 |
To: | bug-Mouse [...] rt.cpan.org |
From: | Anthony Gilbert <agilbrt [...] gmail.com> |
Hi there,
If a program using Mouse dies/throws an exception while the program is
running under the perl debugger, the error message is not shown, only where
the error (appears to have) happened. I need to leave the debugger and run
the command again to see what the error message was.
[image: Inline images 1]
To reproduce, please run the attached divisor.pl.
This behaviour is observed under
- perl 5.12.4, Mouse 0.97 & 1.05, Mac OSX 10.7.5, Mouse installed via
macports
- perl 5.12.2, Mouse 0.97 & 1.05, Linux 2.6.36-gentoo-r5, Mouse installed
via CPAN tarball.
The complete error message is shown when running without the debugger, ie.
"perl divisor.pl".
This behaviour is not observed when Moose is substituted for Mouse. (Only
tested under OSX; I do not have the privileges required to install Moose on
the linux machine).
Thank you.
--
Anthony Gilbert -------- agilbrt gmail.com
Message body is not shown because sender requested not to inline it.
Message body is not shown because sender requested not to inline it.