In the debugger Devel::Trepan, there is the ability to show B:OP addresses. There is an optional plugin which allows one to disassemble Perl subroutines and packages. But what I'd like to do is to be able to disassemble a more limited region around the OP address. So how can I do that?
I know about Devel::Pointer, but I can't get that to work here:
(trepanpl): disasm Devel::Trepan::Options::whence_file
(trepanpl): sprintf "%d", 0x9961848
$DB::D = 160831560
(trepanpl): $c = deref(160831560)
** Bizarre copy of UNKNOWN in scalar assignment
$DB::D = <undef>
Program received signal SEGV.
Segmentation fault (core dumped)
Thoughts or suggestions?