Jade

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Jade

GLASS mailing list
Hi James,

We have a big issue with the newest Jade version 2.0.2.
If you do an inspect of an undefined symbol.
You get something like the picture below.
Afterwards the jade process always crashed.

Gerhard
Inline image 1


_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass
Reply | Threaded
Open this post in threaded view
|

Re: Jade

BrunoBB
Hi,

I have the same behavior here.

If you have a Jade Development Environment you can fix it with these two changes:
1- ^nil added if a compiled error.  (CodeSourcePresenter>>jadeExecuteAndDisplay:)
2- If the evaluation result is nil --> no JadeInspector is open. (CodeSourcePresenter>>jadeInspect)

See the code below:

CodeSourcePresenter
jadeExecuteAndDisplay: showResult
        | result |
        result := self executeSelectionOrLine.
        result key ifTrue: [
                showResult ifTrue: [
                        self showResult: result value.
                ] ifFalse: [
                        self setCaretToEndOfSelection.
                ].
                ^result value.
        ] ifFalse: [
                self showCompileError: result value first.
                ^nil.
        ].

CodeSourcePresenter
jadeInspect
        | result |

        result := self jadeExecuteAndDisplay: false.
        result ifNil: [^self].
        JadeInspector showOn: result session: gciSession.