Mantis - Squeak
Viewing Issue Advanced Details
7588 Compiler minor always 12-19-10 22:26 01-05-13 21:02
FrankShearar  
FrankShearar  
normal  
closed 4.3  
fixed  
none    
none trunk  
0007588: Decompiler>>interpretNextInstructionFor: bitrot
If you change the first statement in the above-mentioned method to

  false ifTrue: [^ super interpretNextInstructionFor: client].

you will print out debug information. Or you would if you didn't get an exception printing out the bytecode. "code copyFrom: 4 to: code size" fails because it tries to make a String of size -2. That's because code at this point is something like '70' if you're currently interpreting bytecode 112.

Changing the offending line to "nextPutAll: '<', code, '>' fixes things.

Notes
(0013997)
FrankShearar   
12-19-10 22:29   
Potential fix uploaded to the Inbox: http://source.squeak.org/inbox/Compiler-fbs.183.mcz [^]
(0014051)
nicolas cellier   
02-16-11 00:18   
In http://source.squeak.org/trunk/Compiler-fbs.183.mcz [^] then merged...