[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-smalltalk] Re: [feature] Errors with line numbers
From: |
Paolo Bonzini |
Subject: |
[Help-smalltalk] Re: [feature] Errors with line numbers |
Date: |
Thu, 24 Jul 2008 03:49:39 -0700 |
Issue status update for
http://smalltalk.gnu.org/project/issue/233
Post a follow up:
http://smalltalk.gnu.org/project/comments/add/233
Project: GNU Smalltalk
Version: <none>
Component: VM
Category: feature requests
Priority: normal
Assigned to: Unassigned
Reported by: ZuLuuuuuu
Updated by: bonzinip
Status: fixed
I tested it with a few of my relatively long .st files but I cannot
say
that it is much useful. That's even more confusing I guess because I
couldn't solve what the line numbers represent yet :D
It's a line number relative to the beginning of the current method.
Absolute line numbers currently are not stored in the methods, though I
guess I could special case the very first line-number bytecode to store
the first line number (instead of 1) and use that as a delta. The
browser could ignore it instead.
I guess absolute line numbers relative to the beginning of the file
is
what I am seeking for, like in Python or Ruby (Tcl is also not that
successful, I think). A line number which leads me directly to the
erroneous line. The format is good though...