Hi,

On Sat, Sep 3, 2011 at 9:03 PM, Hernán Morales Durand
<[email protected]> wrote:
> Hi Damien
>
> I wanted to see the call stack with a script testHTTPSocket.st:
>
> HTTPSocket
>        httpGet: 'http://source.lukas-renggli.ch/petit/?C=M;O=D'
>        args: nil
>        user: ''
>        passwd: ''

it works for me on the Gofer image

https://ci.lille.inria.fr/pharo/view/Pharo-Kernel/job/Pharo%20Kernel%20Gofer/

> without quitting, opened the PharoKernel window (it is minimized in my
> WinXP) and in the VM Preferences -> Debug options -> dump call stack
> It seems there is a recursive MNU:
>
> Process
> 156305476 Semaphore>critical:
> 156305384 BlockClosure>ensure:
> 156305000 Semaphore>critical:
> 156304908 Mutex>critical:
> 156304816 ThreadSafeTranscript>nextPutAll:
> 156298960 ThreadSafeTranscript>print:
> 156298868 ThreadSafeTranscript>show:
> 156127516 DummyUIManager>unhandledErrorDefaultAction:
> 156127424 UnhandledError>defaultAction
> 156127332 UndefinedObject>handleSignal:
> 156127204 Exception>signal
> 156127112 >signalForException:
> 156127020 Error>defaultAction
> 156126928 MessageNotUnderstood>defaultAction
> 156126836 UndefinedObject>handleSignal:
> 156126700 Exception>signal
> 156126608 Object>doesNotUnderstand: uiProcess
> 156126492 Message>sentTo:
> 156119292 Object>doesNotUnderstand: uiProcess
> 156119176 Message>sentTo:
> 156116884 Object>doesNotUnderstand: uiProcess
> 156116768 Message>sentTo:
> ....
>
> Then I evaluated basicTest.st
>
> ^3+4.
> SmalltalkImage current snapshot: false andQuit: true.

you can not use return (^) here.

>
>>Pharo -headless PharoKernel-Gofer-1.4.image basicTest.st > out.txt
>
> out.txt is empty and I have a PharoDebug.log
>
> loadGofer.st
> Error:
> SyntaxErrorNotification
> 85
> 1 [:t1 |
> | t2 |
> t2 := FileStream forceNewFileNamed: 'PharoDebug.log'.
>        t2 nextPutAll: 'loadGofer.st';
>                 cr.
>        t2 nextPutAll: 'Error:';
>                 cr.
>        t2 nextPutAll: t1 asString;
>                 cr.
>        t2 nextPutAll: thisContext stack size asString;
>                 cr.
>        thisContext stack copy
>                withIndexDo: [:t3 :t4 | [t2 nextPutAll: t4 asString;
>                                 space;
>                                 nextPutAll: t3 asString;
>                                 cr]
>                                ifError: [:t5 | t2 nextPutAll: t5 asString;
>                                                 cr]].
>        t2 close.
>        Smalltalk quitPrimitive] in UndefinedObject>>DoIt
> 2 BlockClosure>>cull:
> ....
>
> 2011/9/3 Damien Cassou <[email protected]>:

-- Pavel


>> Hi,
>>
>> I tried to download PharoKernel and execute the following script but
>> nothing happens:
>>
>> Gofer new
>>  renggli: 'petit';
>>  package: 'PetitParser';
>>  load.
>> Gofer new
>>  squeaksource: 'textlint';
>>  package: 'TextLint-Model';
>>  package: 'TextLint-Console';
>>  load.
>> WorldState addDeferredUIMessage: [ SmalltalkImage current snapshot:
>> true andQuit: true ].
>>
>>
>> I got PharoKernel from
>> https://ci.lille.inria.fr/pharo/view/Pharo-Kernel/job/Pharo%20Kernel%20Gofer/lastSuccessfulBuild/artifact/PharoKernel-Gofer-1.4.zip
>>
>> Thank you
>>
>> --
>> Damien Cassou
>> http://damiencassou.seasidehosting.st
>>
>> "Lambdas are relegated to relative obscurity until Java makes them
>> popular by not having them." James Iry
>>
>>
>
>

Reply via email to