feenkcom / gt4gemstone-old

The Glamorous Toolkit for remote work with Gemstone/S
MIT License
13 stars 5 forks source link

How do I get a full printString in eval pane of debugger? #50

Open dalehenrich opened 7 years ago

dalehenrich commented 7 years ago

I evaluate the following in the eval pane:

self indexSpec

and I get the following printed:

GsIndexSpec new
    equalityIndex: 'each.theSmallInteger'
        lastElementClass: SmallInteger;
    identityIndex: 'each.theSmallInteger';
    equalityIndex: 'each.c2.theCharacter'
        lastElementClass: Character
        ...

but I am interested in the full string ... inspecting the result of self indexSpec gives me the same truncated string ...

I guess if I inspect the result of self indexSpec printString, I get the full string:

GsIndexSpec new
    equalityIndex: 'each.theSmallInteger'
        lastElementClass: SmallInteger;
    identityIndex: 'each.theSmallInteger';
    equalityIndex: 'each.c2.theCharacter'
        lastElementClass: Character
        options: GsIndexOptions optimizedComparison;
    identityIndex: 'each.c2.theCharacter';
    equalityIndex: 'each.c2.theSizeArray'
        lastElementClass: SizeArray;
    identityIndex: 'each.c2.theSizeArray';
    equalityIndex: 'each.c2.c3.theNumber'
        lastElementClass: Number;
    identityIndex: 'each.c2.c3.theNumber';
    equalityIndex: 'each.c2.c3.theSmallDouble'
        lastElementClass: SmallDouble;
    identityIndex: 'each.c2.c3.theSmallDouble';
    equalityIndex: 'each.c2.c3.c4.theBoolean'
        lastElementClass: Boolean;
    identityIndex: 'each.c2.c3.c4.theBoolean';
    equalityIndex: 'each.c2.c3.c4.theScaledDecimal'
        lastElementClass: ScaledDecimal
        options: GsIndexOptions optimizedComparison;
    identityIndex: 'each.c2.c3.c4.theScaledDecimal';
    equalityIndex: 'each.c2.c3.c4.theDecimalFloat'
        lastElementClass: DecimalFloat;
    identityIndex: 'each.c2.c3.c4.theDecimalFloat';
    equalityIndex: 'each.c2.c3.c4.c5.theUndefinedObject'
        lastElementClass: UndefinedObject;
    identityIndex: 'each.c2.c3.c4.c5.theUndefinedObject';
    equalityIndex: 'each.c2.c3.c4.c5.theAbstractCharacter'
        lastElementClass: AbstractCharacter
        options: GsIndexOptions optimizedComparison;
    identityIndex: 'each.c2.c3.c4.c5.theAbstractCharacter';
    equalityIndex: 'each.c2.c3.c4.c5.c6.theJISCharacter'
        lastElementClass: JISCharacter
        options: GsIndexOptions optimizedComparison;
    identityIndex: 'each.c2.c3.c4.c5.c6.theJISCharacter';
    equalityIndex: 'each.c2.c3.c4.c5.c6.theFraction'
        lastElementClass: Fraction
        options: GsIndexOptions optimizedComparison;
    identityIndex: 'each.c2.c3.c4.c5.c6.theFraction';
    equalityIndex: 'each.c2.c3.c4.c5.c6.c7.theDateTime'
        lastElementClass: DateTime
        options: GsIndexOptions optimizedComparison;
    identityIndex: 'each.c2.c3.c4.c5.c6.c7.theDateTime';
    equalityIndex: 'each.c2.c3.c4.c5.c6.c7.theTime'
        lastElementClass: Time
        options: GsIndexOptions optimizedComparison;
    identityIndex: 'each.c2.c3.c4.c5.c6.c7.theTime';
    equalityIndex: 'each.c2.c3.c4.c5.c6.c7.theString'
        lastElementClass: String;
    identityIndex: 'each.c2.c3.c4.c5.c6.c7.theString';
    equalityIndex: 'each.c2.c3.c4.c5.c6.c7.theDate'
        lastElementClass: Date
        options: GsIndexOptions optimizedComparison;
    identityIndex: 'each.c2.c3.c4.c5.c6.c7.theDate';
    equalityIndex: 'each.c2.c3.c4.c5.c6.c7.c8.theInteger'
        lastElementClass: Integer;
    identityIndex: 'each.c2.c3.c4.c5.c6.c7.c8.theInteger';
    equalityIndex: 'each.c2.c3.c4.c5.c6.c7.c8.theCharacterCollection'
        lastElementClass: CharacterCollection;
    identityIndex: 'each.c2.c3.c4.c5.c6.c7.c8.theCharacterCollection';
    equalityIndex: 'each.c2.c3.c4.c5.c6.c7.c8.c9.theBinaryFloat'
        lastElementClass: BinaryFloat;
    identityIndex: 'each.c2.c3.c4.c5.c6.c7.c8.c9.theBinaryFloat';
    equalityIndex: 'each.c2.c3.c4.c5.c6.c7.c8.c9.theInvariantString'
        lastElementClass: InvariantString;
    identityIndex: 'each.c2.c3.c4.c5.c6.c7.c8.c9.theInvariantString';
    equalityIndex: 'each.c2.c3.c4.c5.c6.c7.c8.c9.c10.theSmallFloat'
        lastElementClass: SmallFloat;
    identityIndex: 'each.c2.c3.c4.c5.c6.c7.c8.c9.c10.theSmallFloat';
    equalityIndex: 'each.c2.c3.c4.c5.c6.c7.c8.c9.c10.c11.theDoubleByteSymbol'
        lastElementClass: DoubleByteSymbol;
    identityIndex: 'each.c2.c3.c4.c5.c6.c7.c8.c9.c10.c11.theDoubleByteSymbol';
    equalityIndex: 'each.c2.c3.c4.c5.c6.c7.c8.c9.c10.c11.theDoubleByteString'
        lastElementClass: DoubleByteString;
    identityIndex: 'each.c2.c3.c4.c5.c6.c7.c8.c9.c10.c11.theDoubleByteString';
    equalityIndex: 'each.c2.c3.c4.c5.c6.c7.c8.c9.c10.c11.c12.theIndexableByteArray'
        lastElementClass: IndexableByteArray;
    identityIndex: 'each.c2.c3.c4.c5.c6.c7.c8.c9.c10.c11.c12.theIndexableByteArray';
    equalityIndex: 'each.c2.c3.c4.c5.c6.c7.c8.c9.c10.c11.c12.theFloat'
        lastElementClass: Float;
    identityIndex: 'each.c2.c3.c4.c5.c6.c7.c8.c9.c10.c11.c12.theFloat';
    equalityIndex: 'each.c2.c3.c4.c5.c6.c7.c8.c9.c10.c11.c12.c13.theSymbol'
        lastElementClass: Symbol;
    identityIndex: 'each.c2.c3.c4.c5.c6.c7.c8.c9.c10.c11.c12.c13.theSymbol';
    equalityIndex: 'each.c2.c3.c4.c5.c6.c7.c8.c9.c10.c11.c12.c13.c14.theQuadByteString'
        lastElementClass: QuadByteString;
    identityIndex: 'each.c2.c3.c4.c5.c6.c7.c8.c9.c10.c11.c12.c13.c14.theQuadByteString';
    equalityIndex: 'each.c2.c3.c4.c5.c6.c7.c8.c9.c10.c11.c12.c13.c14.theLargeInteger'
        lastElementClass: LargeInteger;
    identityIndex: 'each.c2.c3.c4.c5.c6.c7.c8.c9.c10.c11.c12.c13.c14.theLargeInteger';
    equalityIndex: 'each.c2.c3.c4.c5.c6.c7.c8.c9.c10.c11.c12.c13.c14.theQuadByteSymbol'
        lastElementClass: QuadByteSymbol;
    identityIndex: 'each.c2.c3.c4.c5.c6.c7.c8.c9.c10.c11.c12.c13.c14.theQuadByteSymbol';
    unicodeIndex: 'each.c2.c3.c4.c5.c6.c7.c8.c9.c10.c11.c12.c13.c14.c15.theUnicode7'
        collator: (IcuCollator forLocaleNamed: 'en_US');
    identityIndex: 'each.c2.c3.c4.c5.c6.c7.c8.c9.c10.c11.c12.c13.c14.c15.theUnicode7';
    unicodeIndex: 'each.c2.c3.c4.c5.c6.c7.c8.c9.c10.c11.c12.c13.c14.c15.theUnicode16'
        collator: (IcuCollator forLocaleNamed: 'en_US');
    identityIndex: 'each.c2.c3.c4.c5.c6.c7.c8.c9.c10.c11.c12.c13.c14.c15.theUnicode16';
    unicodeIndex: 'each.c2.c3.c4.c5.c6.c7.c8.c9.c10.c11.c12.c13.c14.c15.theUnicode32'
        collator: (IcuCollator forLocaleNamed: 'en_US');
    identityIndex: 'each.c2.c3.c4.c5.c6.c7.c8.c9.c10.c11.c12.c13.c14.c15.theUnicode32';
    yourself.

but there should be an easier ... more obvious way ... I looked on the menu and didn't see anything useful ...

dalehenrich commented 7 years ago

Just to clarify a bit ... I have a tests that run for half an hour or more and if I printit and get back a truncated string it's pretty useless