Message passing not working

Bug #818954 reported by Emiliano De Laurentiis
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Enchanting
New
Undecided
Unassigned

Bug Description

When using message passing (i.e. "Broadcast message" and "When I receive message") nothing happens.

I am using version 0.0.8 of Enchanting and OS X Lion on my computer.

Revision history for this message
Emiliano De Laurentiis (emilianodelau) wrote :

I tried several different ways of passing messages. Someone sent me code from her computer, just broadcasting one message that worked. Then, when I modified it to broadcast two messages, it did not work. Maybe you need a broadcast and wait block?

I tried something similar in Scratch and it worked perfectly and as predicted.

Revision history for this message
Clinton Blackmore (clinton-blackmore) wrote :

I know it has been a while since you've reported this bug. Do you recall if you were broadcasting a message immediately after the green flag was clicked? I've found that if the threads that are waiting on a broadcast aren't started before the broadcast occurs, they never receive it. I don't know how to fix it, but you can work around it by waiting, say, a quarter second after the green flag is clicked before you broadcast a message.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.