Skip Menu |
 

This queue is for tickets about the Moose CPAN distribution.

Report information
The Basics
Id: 45715
Status: rejected
Priority: 0/
Queue: Moose

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

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



Subject: Moose and the debugger
Download (untitled) / with headers
text/plain 1.1k
<mugwump> Alias: what's the problem with Moose and perl -d ? <Alias> Seems harder to use... <Alias> breakpoints seem trickier <Alias> And stepping through things takes you to some unusal places <jdv79> maybe that's what autarch means by wacktastic <Alias> For example, I'm experimenting with Moose in Xtract.pm <Alias> I have a method that fetching a list of database table names <Alias> And then in each driver-specific subclass, it overloads the method to do some refining (ignoring sqlite internal tables for example) <Khisanth> I think someone mentioned getting taken to anonymous code refs other unnamed things :) <Alias> But how do I set a breakpoint on that overload <Alias> Or anywhere in that file, since there's no actual non-moosey methods in it <Alias> :/ <confound> Alias: file a bug <Alias> Trouble is, and say what :) <confound> pretty much what you just said <confound> Moose is hard to use under perl -d because of X Y Z <confound> no reason not to capture this kind of stuff * confound/#moose never uses perl -d <Alias> Or just cut and paste this conversation <confound> yes, or that
Download (untitled) / with headers
text/plain 484b
Similar issues affect getting sane information from profilers like NYTProf. Improving that would help profilers and debuggers. Looking into it more is on my to-do list. Not sure what it'll happen, hopefully before, or at, OSCON. Meanwhile, here's a note from NYTProf's HACKING file that I wrote last time I looked into it: Class::MOP should update %DB::sub (if $^P & 0x10 set) when it creates methods. Sub::Name should do same (extracting the file and line from the ANON[...:...])
Download (untitled) / with headers
text/plain 608b
On Wed Jun 03 05:51:35 2009, TIMB wrote: Show quoted text
> Similar issues affect getting sane information from profilers like > NYTProf. > Improving that would help profilers and debuggers. > Looking into it more is on my to-do list. > Not sure what it'll happen, hopefully before, or at, OSCON. > > Meanwhile, here's a note from NYTProf's HACKING file that I wrote last > time I looked into it: > > Class::MOP should update %DB::sub (if $^P & 0x10 set) when it creates > methods. > Sub::Name should do same (extracting the file and line from the > ANON[...:...])
Tim, I don't really follow this, but I'd take a patch ;)
Is this improved if you use latest CMOP with Package-Stash-0.04?
Download (untitled) / with headers
text/plain 205b
On Tue Jun 15 13:49:24 2010, DOY wrote: Show quoted text
> Is this improved if you use latest CMOP with Package-Stash-0.04?
There has been no comment on this in 2.5 years ... Please re-open if it's still an issue. -Chris


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.