Hi Vincent,

You example will also kill the Pharo debugger :)
The issue is that you pass 'Processor activeProcess' which gets terminated when you close the debugger.
When you open the debugger you need to make sure the process
on which it is opened is suspended and can get terminated with no problem.

A different way to redo the example would be:

context := Context
    sender: nil
    receiver: {1 . 2 . 2}
    method: (OrderedCollection>>#add:)
    arguments: #(10).
process := Process 
forContext: context
priority: Processor userInterruptPriority.
GTGenericStackDebugger openOn: (DebugSession process: process context: context).

There is a basic test for opening the debugger in GTGenericStackDebuggerSmokeTest but more could help.

Cheers,
Andrei


On Mon, Aug 17, 2015 at 11:53 PM, Vincent BLONDEAU <vincent.blondeau@polytech-lille.net> wrote:

Indeed. Maybe some tests has to be added..

 

But for now, it seems that the debugger is crashing the image… Not just by launching it:

GTGenericStackDebugger openOn: (DebugSession process: Processor activeProcess context:  (Context

                               sender: nil

                               receiver: {1 . 2 . 2}

                               method: (OrderedCollection>>#add: )

                               arguments: #(10)))

 

But when an exception is thrown, its seems that we fall into an infinite loop around the primitive 199. Maybe the context is not well set?

 

Cheers,

Vincent

 

 

 

De : moose-dev-bounces@iam.unibe.ch [mailto:moose-dev-bounces@iam.unibe.ch] De la part de Alexandre Bergel
Envoyé : lundi 17 août 2015 13:26
À : Moose-related development
Objet : [Moose-dev] Re: Object new foo

 

This is weird that such bug can be introduced and no alarm is raised

 

Alexandre 


Le 17 août 2015 à 08:03, Jan Kurš <kurs@iam.unibe.ch> a écrit :

Yep I had this problem (falled back to previous version), I suspected debugger being the reason.

Cheers Jan

 

On Sun, 16 Aug 2015 03:05 Alexandre Bergel <alexandre.bergel@me.com> wrote:

in Moose 6.0 simply freezes.
Anyone else sees this?

Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.



_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev

_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev