Skip Menu |

This queue is for tickets about the Devel-SimpleTrace CPAN distribution.

Report information
The Basics
Id: 44431
Status: resolved
Priority: 0/
Queue: Devel-SimpleTrace

People
Owner: Nobody in particular
Requestors: nils [...] boysen.info
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: 0.08



Subject: Exception messages containing an "at"
Date: Thu, 19 Mar 2009 23:37:46 +0100
To: bug-Devel-SimpleTrace [...] rt.cpan.org
From: Nils Boysen <nils [...] boysen.info>
Hi Sébastien, it looks like Devel::SimpleTrace has a problem with error messages that contain an "at" - i.e.: use Devel::SimpleTrace; die("I wonder at what point this breaks."); The message will be cut after "I wonder"... Updating the regex like this seems to work: # $msg =~ s/ at (.+) line (\d+)\.$//; $msg =~ s/^(.*)at (.+?) line (\d+)\./$1/g; ... _stack_trace($2, $3); Or am I missing something...? Otherwise a very helpful module! Thanx Greetz Nils.
Subject: Re: [rt.cpan.org #44431] Exception messages containing an "at"
Date: Fri, 20 Mar 2009 01:19:50 +0100
To: bug-Devel-SimpleTrace [...] rt.cpan.org
From: Sébastien Aperghis-Tramoni <saper [...] cpan.org>
Nils Boysen wrote via RT: Show quoted text
> Hi Sébastien,
Hello, Show quoted text
> it looks like Devel::SimpleTrace has a problem with error messages > that > contain an "at" - i.e.: > > use Devel::SimpleTrace; > > die("I wonder at what point this breaks."); > > The message will be cut after "I wonder"... > > Updating the regex like this seems to work: > > # $msg =~ s/ at (.+) line (\d+)\.$//; > $msg =~ s/^(.*)at (.+?) line (\d+)\./$1/g; > ... > _stack_trace($2, $3); > > Or am I missing something...?
No, you're perfectly right. Thanks for finding this bug and for the fix. Show quoted text
> Otherwise a very helpful module!
Thank you :-) -- Sébastien Aperghis-Tramoni Close the world, txEn eht nepO.
Subject: Re: [rt.cpan.org #44431] Exception messages containing an "at"
Date: Sat, 19 Feb 2011 01:25:24 +0100
To: bug-Devel-SimpleTrace [...] rt.cpan.org
From: Sébastien Aperghis-Tramoni <saper [...] cpan.org>
Oops. Seems that I, like, totally forgot to upload the new release back then. Now fixed. -- Sébastien Aperghis-Tramoni Close the world, txEn eht nepO.