On 29/05/2013 13:37, Ladislav Marek wrote:
It has been reported here
http://lists.gnu.org/archive/html/help-smalltalk/2011-07/msg00035.html
.

On Wed, May 29, 2013 at 10:29 AM, Holger Hans Peter Freyther
<[email protected]> wrote:
Issue status update for http://smalltalk.gnu.org/project/issue/770

Post a follow up: http://smalltalk.gnu.org/project/comments/add/770

Project:      GNU Smalltalk
Version:      <none>
Component:    Base classes
Category:     bug reports
Priority:     normal
Assigned to:  Unassigned
Reported by:  MrGwen
Updated by:   zecke
Status:       active

We are playing ping-pong here. The +1 was changed to a -1 in
dd1f241bf27756bfa41057bc6368483dc25c3da7. This change doesn't have a
testcase and I couldn't find the bug description in the mailinglist
archive.

So by changing it back to +1 we will break something. So please create a
new testcase that shows your issue and can be used for regression
testing.




_______________________________________________
help-smalltalk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-smalltalk
_______________________________________________
help-smalltalk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-smalltalk

So here is the code:

PackageLoader fileInPackage: 'DebugTools'.

b := [ 1 printString: 10 ].
d := Debugger on: b newProcess.

[d suspendedContext method == b block]
        whileFalse: [d stepBytecode].

5 timesRepeat: [
    d step.
    d suspendedContext method printNl.
    d currentLine printNl ].

and the output:

Integer>>printString:
1
Integer>>printString:
0
Integer>>printString:
6
Integer>>printString:
14
Integer>>printString:
8

there are two errors: line 0 and line 14



_______________________________________________
help-smalltalk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-smalltalk

Reply via email to