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

Issue status update for Post a follow up:

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
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
SystemExceptions.IndexOutOfRange(Exception)>>signal (
SystemExceptions.IndexOutOfRange class>>signalOn:withIndex:
Array(Object)>>checkIndexableBounds: (
Array(Object)>>at: (
UndefinedObject>>executeStatements (a String:1)

/a String/ means stdin in this case.

reply via email to

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