GemTalk / Jadeite

IDE for GemStone Smalltalk application development using Rowan code management
MIT License
6 stars 2 forks source link

Problematic evaluation of expressions in Debugger's variable display pane #977

Open rjsargent opened 1 year ago

rjsargent commented 1 year ago

Jadeite Oscar-3.1.1-pre-release4 This relates the the middle pane vertically on the right half of the Debugger window, where the value of the variable selected above it gets shown. (I don't know the terminology used for that pane.) Of the four operations, Inspect, Evaluate, Display, and Debug, only Evaluate and Display appear to work correctly.

Inspect pops up a message box complaining that "JadeiteDebugger does not understand #showCompileError:". Evaluate produces no visible result, but no message about compile errors, so I think it works. Display evaluates the expression and displays the results, as one would expect. Debug produces no visible result including no message about compile errors. Nor does it open a new debugger on the expression.

The relevant stack frames from the error log follow.

{23D8078C: cf 23D8076D, sp 23D807A0, bp 23D80788, ip 4, JadeiteDebugger(Object)>>doesNotUnderstand:}
    receiver: a JadeiteDebugger
    arg[0]: Message selector: showCompileError: arguments: 02EF1830

{23D8076C: cf 23D80741, sp 23D80780, bp 23D80764, ip 24, [] in JadeiteInspector>>evaluateSelectedTextIn:thenInspectInContext:}
    receiver: nil

{23D80740: cf 23D80721, sp 23D80754, bp 23D8073C, ip 18, BlockClosure>>ifCurtailed:}
    receiver: [] @ 0 in nil
    arg[0]: [] @ 33 in JadeiteInspector>>evaluateSelectedTextIn:thenInspectInContext:

{23D80720: cf 23D806FD, sp 23D80734, bp 23D80718, ip 3, BlockClosure>>ensure:}
    receiver: [] @ 19 in JadeiteInspector>>evaluateSelectedTextIn:thenInspectInContext:
    arg[0]: [] @ 33 in JadeiteInspector>>evaluateSelectedTextIn:thenInspectInContext:
    stack temp[0]: nil

{23D806FC: cf 23D806D5, sp 23D80710, bp 23D806F0, ip 38, JadeiteInspector>>evaluateSelectedTextIn:thenInspectInContext:}
    receiver: a JadeiteInspector
    arg[0]: a JadeiteDebugger
    arg[1]: a LargeInteger(4734e301 )
    stack temp[0]: a RowanInspectorService

{23D806D4: cf 23D806B5, sp 23D806E8, bp 23D806D0, ip 9, JadeiteDebugger>>jadeInspect}
    receiver: a JadeiteDebugger
    stack temp[0]: a JadeiteInspector