GDBFrame.st
changeset 90 6046abc9ddf4
parent 82 7ee72b7a498f
child 91 472a4841a8b6
equal deleted inserted replaced
89:ba62d486014f 90:6046abc9ddf4
    67     self ensureIsValid.
    67     self ensureIsValid.
    68     variables isNil ifTrue:[
    68     variables isNil ifTrue:[
    69         variables := GDBTransientDataHolder debugger: debugger factory:[ 
    69         variables := GDBTransientDataHolder debugger: debugger factory:[ 
    70             | result |
    70             | result |
    71 
    71 
    72             result := debugger send: (GDBMI_stack_list_variables new arguments: { '--thread' . thread id . '--frame' . level . '--simple-values' }).
    72             result := debugger send: (GDBMI_stack_list_variables new arguments: (Array with: '--thread' with: thread id with: '--frame' with: level with: '--simple-values')).
    73             (result propertyAt: #variables) ? #()
    73             (result propertyAt: #variables) ? #()
    74                 do:[ :each | each setFrame: self ];
    74                 do:[ :each | each setFrame: self ];
    75                 yourself
    75                 yourself
    76         ].
    76         ].
    77     ].
    77     ].
    78     ^ variables value
    78     ^ variables value
    79 
    79 
    80     "Created: / 27-02-2015 / 14:56:22 / Jan Vrany <jan.vrany@fit.cvut.cz>"
    80     "Created: / 27-02-2015 / 14:56:22 / Jan Vrany <jan.vrany@fit.cvut.cz>"
    81     "Modified: / 09-03-2015 / 23:43:23 / Jan Vrany <jan.vrany@fit.cvut.cz>"
    81     "Modified: / 17-11-2017 / 20:22:27 / Jan Vrany <jan.vrany@fit.cvut.cz>"
    82 ! !
    82 ! !
    83 
    83 
    84 !GDBFrame methodsFor:'printing & storing'!
    84 !GDBFrame methodsFor:'printing & storing'!
    85 
    85 
    86 displayString
    86 displayString