[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] Eval code in debugger

From: Gwenaël Casaccio
Subject: Re: [Help-smalltalk] Eval code in debugger
Date: Thu, 24 Oct 2013 10:07:15 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0

On 24/10/2013 07:47, Holger Hans Peter Freyther wrote:
On Mon, Oct 21, 2013 at 10:17:33AM +0200, Gwenaël Casaccio wrote:

The patch allows code evaluation while debugging and
allows to use the temps and the args name in the evaluated
lovely! the debugger is getting more and more usable and showing
the power of Smalltalk/GST.
      inspectIt: object [
          <category: 'smalltalk event'>
- self focusedWidget inspectIt: object
+        codeWidget hasFocus ifFalse: [ ^ self focusedWidget inspectIt: object 
+        codeWidget hasSelection ifFalse: [ ^ self ].
+        (debugger eval: codeWidget selectedText) gtkInspect.
something is not right. E.g. when I don't have anything selected
in the code widget and no blinking cursor but the variable in
"variables" is selected and I press CTRL+I I would want the inspector
to popup on the variable but somehow I get an inspector with

Can you reproduce this? My example is the '1234' do: [:each | ]


That's an issue with the focusedWidget code and not the change
I'm going to rewrite it as soon as possible which will simplyfy the code.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]