Hi all,
Due to careless programming I have crashed my Seaside One-Click image twice today. None of my mouse and keyboard clicks work but when I 'x' out the window I get a confirmation dialog asking if Squeak should quit without saving (which I accept since I don't really have a choice). When I open the image all my work during the previous session is lost. Am I doing something wrong? Is it actually saved somewhere I don't know about? Thanks... Deech _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
"aditya siram" <[hidden email]> wrote in message
> Is it actually saved somewhere I don't know about? Yes, World-Menu -> Changes -> recently logged changes Pick the top of the list (typically), you get a list of changes sorted by time, with most recent at the bottom. You can right click on each and do actions. I found it slightly non-intuitive to use, but it can be a life saver. See "Squeak By Example" book section 6.10. You should start using Monticello if you have not already (Section 6.3). It is an absolute must-have for managing, versioning, and saving your source code during development, imo. - Sophie _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
In reply to this post by aditya siram-2
> Hi all,
> Due to careless programming I have crashed my Seaside One-Click image twice > today. None of my mouse and keyboard clicks work but when I 'x' out the > window I get a confirmation dialog asking if Squeak should quit without This is a rather basic, beginner question, but did you try doing an Alt-. (Alt and the period), first, to see if you could terminate the offending process? I've very rarely hung an image such that I couldn't use Alt-. to recover. That's not to say it doesn't happen, though. :) Brett. _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
In reply to this post by aditya siram-2
I have also managed to crash the Squeak ui that it is unresponsive, but have had very little success with the alt-. Trick. What has worked for me is that Seaside has pretty much always remained responsive.
When this is the case I browse to seaside, click on tools then on the screenshot tool, then on suspend and resume UI. That normally gets squeak to be responsive again. -----Original Message----- From: Brett Kosinski <[hidden email]> Sent: Wednesday, April 09, 2008 1:04 AM To: Seaside - general discussion <[hidden email]> Subject: Re: [Seaside] Crashing Seaside Image = Lost Work? > Hi all, > Due to careless programming I have crashed my Seaside One-Click image twice > today. None of my mouse and keyboard clicks work but when I 'x' out the > window I get a confirmation dialog asking if Squeak should quit without This is a rather basic, beginner question, but did you try doing an Alt-. (Alt and the period), first, to see if you could terminate the offending process? I've very rarely hung an image such that I couldn't use Alt-. to recover. That's not to say it doesn't happen, though. :) Brett. _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
In reply to this post by aditya siram-2
Hi Aditya,
One of the reasons why your image hung would be that you have WAComponent subclass: #XYMainView instanceVariableNames: 'child' classVariableNames: '' poolDictionaries: '' category: 'XY-View' XYView >> children ^ Array with: child XYMainView >> initialize super initialize. child := XYChildVIew new. XYMainView subclass: #XYChildView instanceVariableNames: 'editor' classVariableNames: '' poolDictionaries: '' category: 'XY-View' XYChildView >> initialize super initialize. editor := OrderedCollection new. "or any similar statement" The problem with the above code is, when XYMainView is initialized, child variable is assigned a new instance of XYChildView, which also initializes. Since XYChildView is a subclass of XYMainView, there is an infinite loop of instantiation and thats why the image hangs. Hope this helps, Rajeev On Wed, Apr 9, 2008 at 3:35 AM, aditya siram <[hidden email]> wrote: Hi all, -- Rajeev Lochan Co-founder, AR-CAD.com http://www.ar-cad.com +91 9243468076 (Bangalore) 080 65355873 _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
In reply to this post by Sophie424
That did it! You rule!
Deech On Tue, Apr 8, 2008 at 5:29 PM, itsme213 <[hidden email]> wrote: "aditya siram" <[hidden email]> wrote in message _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Free forum by Nabble | Edit this page |