in reply to Re^3: Identifying a location with finer granularity than a line number (-MO=)
in thread Identifying a location with finer granularity than a line number
Count me in on liking to pursue that possibility too.
The challenges, as I understand it, are that currently B::Terse and B::Concise parse the source text a new rather than have the ability to work on an in place node structure. So the addresses might not be the same, even if the overall tree layout would be the same. Waving my hands, there might be a way to correlate the two sets of addresses used. But that bleeds into the other problem: being able to get at the equivalent of a PC and the opnodes of the tree that is currently live.
The aforementioned debugger currently does have a plugin to add a dissassemble command which attempts to allow you to see dissassembly of the code around where you are stopped if that's what you want.
However I have found that the B::Concise code may need improvement when using it more than once in a session with different format styles. Probably not a big issue since I don't think it a likely thing to do after initially settling on a dump style when new to B::Concise. But the frailty is there.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Identifying a location with finer granularity than a line number (B::Concise)
by tye (Sage) on Aug 15, 2012 at 06:11 UTC | |
by rockyb (Scribe) on Aug 15, 2012 at 06:21 UTC | |
by rockyb (Scribe) on Apr 13, 2014 at 23:19 UTC | |
|
Re^5: Identifying a location with finer granularity than a line number (-MO=)
by bulk88 (Priest) on Aug 15, 2012 at 13:52 UTC |