Front page | perl.perl6.internals |
Postings from July 2002
From: Tom Hughes
July 13, 2002 15:44
Message ID: email@example.com
In message <200207131916.g6DJGAd05680@beaker.logan>
Bryan Logan <firstname.lastname@example.org> wrote:
> Here's the code I have:
> open I0, "test.txt", "<"
> open I1, "testdtxt", "<"
> I assemble and load it into pdb and get this:
> Parrot Debugger 0.0.1
> (pdb) list
> 1 open_i_sc_sc I0,"test.txt<","<"
> 2 open_i_sc_sc I1,"testdtxt","<"
> 3 end
This is a bug in the debugger (and also in the opcode tracing) where
it is assuming that constant strings in the byte code are zero terminated
when they aren't, and it is therefore overrunning and printing bits of
the next string or whatever. I have just committed a fix.
Tom Hughes (email@example.com)