Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Throwable CPAN distribution.

Report information
The Basics
Id: 77786
Status: new
Priority: 0/
Queue: Throwable

People
Owner: Nobody in particular
Requestors: dwheeler [...] cpan.org
Cc:
AdminCc:

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



Subject: Missing Stack Trace
Date: Tue, 12 Jun 2012 11:57:22 -0700
To: bug-throwable [...] rt.cpan.org
From: David E. Wheeler <dwheeler [...] cpan.org>
When creating a Throwable object with StackTrace::Auto, it fails to create a stack trace "you're at the top level". Seems to me that it ought to have at least the line on which the trace was created/thrown. Test case: package My::X; use Moose; with qw(Throwable StackTrace::Auto); package main; use Test::More; isa_ok my $x = My::X->new, 'My::X', 'X object'; ok $x->stack_trace->frames, 'Should have trace frames'; done_testing;