help-smalltalk
[Top][All Lists]
Advanced

[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 08:28:01 -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

Ok, these three commits implement it:

e7fa6bc1a81f52a80fa8bb16cbf43a0d26f4b3df print the filename in
backtraces too
dcd363184824ac9a01aacf28d77fcdfe122e4eb2 add
FilePath>>#isFileSystemPath
f848ffe062b600326ed61a1bdb55322c9fdc9f0b print file-based line numbers
in backtraces

The result is:

st> #(1) at: 2
Object: Array new: 1 "<0x3038628>" error: Invalid index 2: index out of
range
SystemExceptions.IndexOutOfRange(Exception)>>signal (AnsiExcept.st:216)
SystemExceptions.IndexOutOfRange class>>signalOn:withIndex:
(AnsiExcept.st:804)
Array(Object)>>checkIndexableBounds: (Object.st:782)
Array(Object)>>at: (Object.st:842)
UndefinedObject>>executeStatements (a String:1)

/a String/ means stdin in this case.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]