I found more bad cases with code simulation. And I think any manipulations with context (errors signals, simaphore, ...) not work in simulation mode. Transcript printing failed because of simaphore accessing (for thread safety)
I create CodeSimulationTests (see attachement) with some tests which not work and which crash VM.
Maybe this tests not correct. But I hope it helps to indicate and solve issues
Thanks!
Stef
On May 23, 2010, at 11:13 AM, Denis Kudriashov wrote:
> And If you replace Transcript code with
>
> self halt.
>
> You will see that debugging with through button does not work. Code simulation failure raised (but without VM crash)
>
> 2010/5/23 Denis Kudriashov <dionisiydk@gmail.com>
> I has Pharo1.0 one click, Windows 7.
> I attach class ClassWithTranscriptPrinting.
> see class side method #debug
>
>
>
>
>
> 2010/5/23 St�phane Ducasse <stephane.ducasse@inria.fr>
>
> Hi denis
>
> can you report clearly your bug
> � � � �- image
> � � � �- vm
> � � � �- os
> � � � �- scenario
>
> I could not compile
> � � � �Transcript>>show:'something'
>
> so I do not know how you did it.
>
>
>
> On May 23, 2010, at 10:11 AM, Denis Kudriashov wrote:
>
> > Hello
> >
> > Just insert
> > Transcript>>show:'something'
> > at any method begin.
> >
> > Now debug sender of your method by debugger Through button.
> >
> > If no Transcript opened VM will crash!
> > _______________________________________________
> > Pharo-project mailing list
> > Pharo-project@lists.gforge.inria.fr
> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project@lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project@lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project