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 [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
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 > [hidden email] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
I has Pharo1.0 one click, Windows 7.
I attach class ClassWithTranscriptPrinting. see class side method #debug 2010/5/23 Stéphane Ducasse <[hidden email]> Hi denis _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project ClassWithTranscriptPrinting.st (1K) Download Attachment |
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 <[hidden email]> I has Pharo1.0 one click, Windows 7. _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
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 <[hidden email]> > I has Pharo1.0 one click, Windows 7. > I attach class ClassWithTranscriptPrinting. > see class side method #debug > > > > > > 2010/5/23 Stéphane Ducasse <[hidden email]> > > 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 > > [hidden email] > > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > > > _______________________________________________ > Pharo-project mailing list > [hidden email] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > > > _______________________________________________ > Pharo-project mailing list > [hidden email] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
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 2010/5/23 Stéphane Ducasse <[hidden email]> Thanks! _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project CodeSimulationTests.st (3K) Download Attachment |
thanks a lot denis.
Can you create one or two bug entries in the bug tracking tool and attach your code there? Stef On May 23, 2010, at 4:18 PM, Denis Kudriashov wrote: > 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 > > 2010/5/23 Stéphane Ducasse <[hidden email]> > 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 <[hidden email]> > > I has Pharo1.0 one click, Windows 7. > > I attach class ClassWithTranscriptPrinting. > > see class side method #debug > > > > > > > > > > > > 2010/5/23 Stéphane Ducasse <[hidden email]> > > > > 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 > > > [hidden email] > > > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > > > > > > _______________________________________________ > > Pharo-project mailing list > > [hidden email] > > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > > > > > > _______________________________________________ > > Pharo-project mailing list > > [hidden email] > > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > > > _______________________________________________ > Pharo-project mailing list > [hidden email] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > > <CodeSimulationTests.st>_______________________________________________ > Pharo-project mailing list > [hidden email] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
In reply to this post by Denis Kudriashov
http://code.google.com/p/pharo/issues/detail?id=2469
Stef On May 23, 2010, at 4:18 PM, Denis Kudriashov wrote: > 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 > > 2010/5/23 Stéphane Ducasse <[hidden email]> > 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 <[hidden email]> > > I has Pharo1.0 one click, Windows 7. > > I attach class ClassWithTranscriptPrinting. > > see class side method #debug > > > > > > > > > > > > 2010/5/23 Stéphane Ducasse <[hidden email]> > > > > 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 > > > [hidden email] > > > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > > > > > > _______________________________________________ > > Pharo-project mailing list > > [hidden email] > > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > > > > > > _______________________________________________ > > Pharo-project mailing list > > [hidden email] > > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > > > _______________________________________________ > Pharo-project mailing list > [hidden email] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > > <CodeSimulationTests.st>_______________________________________________ > Pharo-project mailing list > [hidden email] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
Ok,
Eliot send some fix for code simulation in squeak list. With it decompilation work good and my tests does not crach VM. But some of tests failed (they like infinit loop) I attach Eliot fix.
2010/5/24 Stéphane Ducasse <[hidden email]> http://code.google.com/p/pharo/issues/detail?id=2469 _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project ContextPart-tryNamedPrimitiveInforwithArgs.st (1K) Download Attachment |
thanks a lot denis for checking that.
I should say thatI'm quite busy right now. :) Stef On May 25, 2010, at 7:05 PM, Denis Kudriashov wrote: > Ok, > > Eliot send some fix for code simulation in squeak list. > With it decompilation work good and my tests does not crach VM. But some of tests failed (they like infinit loop) > > I attach Eliot fix. > > 2010/5/24 Stéphane Ducasse <[hidden email]> > http://code.google.com/p/pharo/issues/detail?id=2469 > > > > Stef > > > On May 23, 2010, at 4:18 PM, Denis Kudriashov wrote: > > > 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 > > > > 2010/5/23 Stéphane Ducasse <[hidden email]> > > 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 <[hidden email]> > > > I has Pharo1.0 one click, Windows 7. > > > I attach class ClassWithTranscriptPrinting. > > > see class side method #debug > > > > > > > > > > > > > > > > > > 2010/5/23 Stéphane Ducasse <[hidden email]> > > > > > > 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 > > > > [hidden email] > > > > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > > > > > > > > > _______________________________________________ > > > Pharo-project mailing list > > > [hidden email] > > > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > > > > > > > > > _______________________________________________ > > > Pharo-project mailing list > > > [hidden email] > > > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > > > > > > _______________________________________________ > > Pharo-project mailing list > > [hidden email] > > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > > > > <CodeSimulationTests.st>_______________________________________________ > > Pharo-project mailing list > > [hidden email] > > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > > > _______________________________________________ > Pharo-project mailing list > [hidden email] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > > <ContextPart-tryNamedPrimitiveInforwithArgs.st>_______________________________________________ > Pharo-project mailing list > [hidden email] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
We've further improved on the issue in
http://code.google.com/p/pharo/issues/detail?id=2469. It's committed to the inbox, now. Niko On Tue, May 25, 2010 at 10:34 PM, Stéphane Ducasse <[hidden email]> wrote: > thanks a lot denis for checking that. > I should say thatI'm quite busy right now. :) > > Stef > > On May 25, 2010, at 7:05 PM, Denis Kudriashov wrote: > >> Ok, >> >> Eliot send some fix for code simulation in squeak list. >> With it decompilation work good and my tests does not crach VM. But some of tests failed (they like infinit loop) >> >> I attach Eliot fix. >> >> 2010/5/24 Stéphane Ducasse <[hidden email]> >> http://code.google.com/p/pharo/issues/detail?id=2469 >> >> >> >> Stef >> >> >> On May 23, 2010, at 4:18 PM, Denis Kudriashov wrote: >> >> > 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 >> > >> > 2010/5/23 Stéphane Ducasse <[hidden email]> >> > 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 <[hidden email]> >> > > I has Pharo1.0 one click, Windows 7. >> > > I attach class ClassWithTranscriptPrinting. >> > > see class side method #debug >> > > >> > > >> > > >> > > >> > > >> > > 2010/5/23 Stéphane Ducasse <[hidden email]> >> > > >> > > 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 >> > > > [hidden email] >> > > > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project >> > > >> > > >> > > _______________________________________________ >> > > Pharo-project mailing list >> > > [hidden email] >> > > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project >> > > >> > > >> > > _______________________________________________ >> > > Pharo-project mailing list >> > > [hidden email] >> > > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project >> > >> > >> > _______________________________________________ >> > Pharo-project mailing list >> > [hidden email] >> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project >> > >> > <CodeSimulationTests.st>_______________________________________________ >> > Pharo-project mailing list >> > [hidden email] >> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project >> >> >> _______________________________________________ >> Pharo-project mailing list >> [hidden email] >> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project >> >> <ContextPart-tryNamedPrimitiveInforwithArgs.st>_______________________________________________ >> Pharo-project mailing list >> [hidden email] >> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > > > _______________________________________________ > Pharo-project mailing list > [hidden email] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > -- http://scg.unibe.ch/staff/Schwarz twitter.com/nes1983 Tel: +41 076 235 8683 _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
Excelent
2010/6/8 Niko Schwarz <[hidden email]> We've further improved on the issue in _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
Free forum by Nabble | Edit this page |