Issue 5045 in pharo: Error during startup quits the image

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Issue 5045 in pharo: Error during startup quits the image

pharo
Status: New
Owner: [hidden email]
Labels: Milestone-1.3 Type-Bug

New issue 5045 by [hidden email]: Error during startup quits the  
image
http://code.google.com/p/pharo/issues/detail?id=5045

If there is an error in a startup method, the image quits immediately. So,  
the image is completely lost.

The option NonInteractiveUIManager snapshotErrorImage: true was supposed to  
give you the possibility of still opening the image (a copy of it) and  
having a debugger on the error instead of quitting.

But this does not work, it generates an endless loop of opening and  
quitting images.


Pharo core version: Pharo1.3 #13315
Virtual machine used: Mac Squeak 4.2.2beta1U
Class browser used if applicable: OBSystemBrowserAdaptor

Steps to reproduce:
1. NonInteractiveUIManager snapshotErrorImage: true
2. e.g.in MCWorkingCopy startUp:, add a 1/0
3. save the image (during snapshotting, the error will open a debugger ->  
proceed)
4. open the image
-> it opens, saves as new, quits, opens the new one, saves as new, quits,  
opens the even newer one, ... (endless loop)




_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 5045 in pharo: Error during startup quits the image

pharo

Comment #1 on issue 5045 by [hidden email]: Error during startup  
quits the image
http://code.google.com/p/pharo/issues/detail?id=5045

I think issue #4617 might address this issue by having a more  
error-tolerant startup which would still open debuggers on all errors


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 5045 in pharo: Error during startup quits the image

pharo
Updates:
        Status: Duplicate
        Mergedinto: 4617

Comment #2 on issue 5045 by [hidden email]: Error during startup  
quits the image
http://code.google.com/p/pharo/issues/detail?id=5045

I merge this into Issue 4617. If this is wrong, this action of merging the  
bug report is meant to help structuring the bugs reported with the goal to  
be able to solve all problems. It is not a judgment on the submitter, the  
bug, version 1.3, the world, etc... and can be reverted very easily if it  
turns out not to be a good idea.

(phew...)


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker