Status: Accepted
Owner: [email protected]
Labels: Type-Squeak

New issue 3988 by [email protected]: Debugger cannot open because of Decompiler assertion failure
http://code.google.com/p/pharo/issues/detail?id=3988

This was reported at http://bugs.squeak.org/view.php?id=7467
If you try to debug this, then your image might hang:

'1 0' readStream in: [ :input |
    | i |
    [
    input skipSeparators.
    i := Integer readFrom: input.
    i = 0 ] whileFalse: [
        | k count digits |
        k := 1.
        count := 0.
        digits := Array new: 10 withAll: 0.
        [ count < i ] whileTrue: [
            | index1 ps |
            ps := k printString.
((index1 := ps indexOf: $1) = 0 or: [ (ps indexOf: $3 startingAt: index1) = 0 ]) ifTrue: [
                count := count + 1.
ps do: [ :each | digits at: each asciiValue - 47 put: (digits at: each asciiValue - 47) + 1 ] ].
                k := k + 1 ].
        self halt ] ]



Reply via email to