CONTENTS DELETED
The author has deleted this message.
|
I've had this happen a few times too, if you put a break point or a halt
in the GUI code, it basically just keeps recursively calling itself, and each time it opens a new window. If there's a bug now in the GUI code for the basic widgets, that could be problematic - ie, try and head in a different direction.. David -----Original Message----- From: VAM <[hidden email]> To: [hidden email] Subject: [vwnc] debug while writting view subclass Date: Tue, 21 Jul 2009 05:59:38 -0700 (PDT) Hi! I made subclass of View and while fine-tuning its work, I get many-many debug windows. How correct close them all? I use next code (ApplicationWindow allInstances select: [:each | each label asString = 'Exception']) do: [:each | each close] but it is bad solution, becouse exception processes stay in memory and processContext hold cost resources. _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
CONTENTS DELETED
The author has deleted this message.
|
In reply to this post by david.long
Hi,
maybe the Exception window pops up on top of the view, which causes the view to redraw, which causes the exception. Try moving the window to the side so that the exception window and the debugger window don't pop up on top of it. You could also wrap the crashing code in an exception handler and trap all errors unless you press the shift key. so that you only get a few exceptions that you can then debug. Kind Regards Karsten David Long wrote: > I've had this happen a few times too, if you put a break point or a halt > in the GUI code, it basically just keeps recursively calling itself, > and each time it opens a new window. If there's a bug now in the GUI > code for the basic widgets, that could be problematic - ie, try and > head in a different direction.. > > David > -----Original Message----- > From: VAM<[hidden email]> > To: [hidden email] > Subject: [vwnc] debug while writting view subclass > Date: Tue, 21 Jul 2009 05:59:38 -0700 (PDT) > > Hi! > > I made subclass of View and while fine-tuning its work, I get many-many > debug windows. > > How correct close them all? I use next code > > (ApplicationWindow allInstances select: [:each | each label asString = > 'Exception']) do: [:each | each close] > > but it is bad solution, becouse exception processes stay in memory and > processContext hold cost resources. > > _______________________________________________ > vwnc mailing list > [hidden email] > http://lists.cs.uiuc.edu/mailman/listinfo/vwnc > > > -- Karsten Kusche - Dipl.Inf. - [hidden email] Tel: +49 3496 21 43 29 Georg Heeg eK - Köthen Handelsregister: Amtsgericht Dortmund A 12812 _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
In reply to this post by david.long
Some recursive GUI errors can be prevented by turning on
the debugger setting "Use event faithful debugging". As a general rule I set this when I start a new image. It is not very often that I turn it off. Terry =========================================================== Terry Raymond Crafted Smalltalk 80 Lazywood Ln. Tiverton, RI 02878 (401) 624-4517 [hidden email] <http://www.craftedsmalltalk.com> =========================================================== > -----Original Message----- > From: [hidden email] [mailto:[hidden email]] On Behalf Of David Long > Sent: Tuesday, July 21, 2009 9:14 AM > To: VAM > Cc: [hidden email] > Subject: Re: [vwnc] debug while writting view subclass > > I've had this happen a few times too, if you put a break point or a halt > in the GUI code, it basically just keeps recursively calling itself, > and each time it opens a new window. If there's a bug now in the GUI > code for the basic widgets, that could be problematic - ie, try and > head in a different direction.. > > David > -----Original Message----- > From: VAM <[hidden email]> > To: [hidden email] > Subject: [vwnc] debug while writting view subclass > Date: Tue, 21 Jul 2009 05:59:38 -0700 (PDT) > > Hi! > > I made subclass of View and while fine-tuning its work, I get many-many > debug windows. > > How correct close them all? I use next code > > (ApplicationWindow allInstances select: [:each | each label asString = > 'Exception']) do: [:each | each close] > > but it is bad solution, becouse exception processes stay in memory and > processContext hold cost resources. > > _______________________________________________ > vwnc mailing list > [hidden email] > http://lists.cs.uiuc.edu/mailman/listinfo/vwnc _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
In reply to this post by vam
Send the message #closeAndUnschedule to the window's controller.
window controller closeAndUnschedule. Terry =========================================================== Terry Raymond Crafted Smalltalk 80 Lazywood Ln. Tiverton, RI 02878 (401) 624-4517 [hidden email] <http://www.craftedsmalltalk.com> =========================================================== > -----Original Message----- > From: [hidden email] [mailto:[hidden email]] On Behalf Of VAM > Sent: Tuesday, July 21, 2009 9:26 AM > To: [hidden email] > Subject: Re: [vwnc] debug while writting view subclass > > > I understand cause of this. But I interest how fast and correct close all > debug windows (if i close view with invalid "displayOn:" early). > > > > David Long-6 wrote: > > > > I've had this happen a few times too, if you put a break point or a halt > > in the GUI code, it basically just keeps recursively calling itself, > > and each time it opens a new window. If there's a bug now in the GUI > > code for the basic widgets, that could be problematic - ie, try and > > head in a different direction.. > > > > -- > View this message in context: http://www.nabble.com/-vwnc--debug-while-writting-view-subclass- > tp24587188p24587627.html > Sent from the VisualWorks mailing list archive at Nabble.com. > > _______________________________________________ > vwnc mailing list > [hidden email] > http://lists.cs.uiuc.edu/mailman/listinfo/vwnc _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
Hi all,
For my application i needed to send xml requests over the secure http. I have the X509 certificate of the format CN=*.hostserver.com. The URL to which i send request is of the form 'https://aSpecificHost.hostserver.com/....' So this causes a mismatch in the Net.SSLConnection-->validationBlock , where it checks if the certificate CN matches with the request's HostName and i get an SSLBadCertificateError. The certificate is a genuine wild card certificate used for my hosts under the provider. Some one have any clues regarding a fix for this? Thanks in Advance, Simon _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
Free forum by Nabble | Edit this page |