help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-smalltalk] [feature] Errors with line numbers


From: Canol Gökel
Subject: [Help-smalltalk] [feature] Errors with line numbers
Date: Thu, 10 Jul 2008 06:44:25 -0700

Issue status update for http://smalltalk.gnu.org/node/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:   ZuLuuuuuu
Status:       active

It would be very helpful if all the errors while interpreting were
represented with line numbers.

For example, consider a simple script with a "MessageNotUnderstood"
error:

| foo |
foo := 5, 'bar'

The virtual machine gives an error like this:

Object: 2 error: did not understand #,
MessageNotUnderstood(Exception)>>signal
SmallInteger(Object)>>doesNotUnderstand: #,
UndefinedObject>>executeStatements

The error is explanatory except that it does not say at exactly which
line the error happened. This makes it difficult to specify where the
error is especially if the source code is composed of hundreds of
lines.






reply via email to

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