Re: widget crashes and restarts [message #5215] |
Wed, 01 November 1995 00:00 |
David S. Foster/Admin
Messages: 14 Registered: May 1995
|
Junior Member |
|
|
Mark Fardal <fardal@shapley.colorado.edu> wrote:
>
> Okay, I give up,
>
> If you have a widget application that crashes somewhere in the event
> handler, how do you (a) remove the current widget and (b) make sure
> everything is okay when you start the widget application again?
>
Kill each active IDL window manually, and then at the IDL promot
type "retall" and then "xmanager".
I've tried to use the WIDGET_CONTROL, /RESET feature to kill all
the widgets, but this seems to leave IDL in a strange state. Even
after typing retall and xmanager, widget applications do not start
up correctly.
Dave
|
|
|
Re: widget crashes and restarts [message #5233 is a reply to message #5215] |
Sat, 28 October 1995 00:00  |
knighton
Messages: 12 Registered: June 1995
|
Junior Member |
|
|
Mark Fardal <fardal@shapley.colorado.edu> wrote:
> Okay, I give up,
>
> If you have a widget application that crashes somewhere in the event
> handler, how do you (a) remove the current widget and (b) make sure
> everything is okay when you start the widget application again?
>
> I can destroy the widget either by closing the Xwindow or by typing
> WIDGET_CONTROL, /RESET. But then when I start up the widget again it
> is unresponsive; the buttons and menus can be manipulated but they
> don't call the event handler. Right now the only way I know of to
> restart the widget is to exit and restart IDL.
>
When the crash occurs, first destroy the widget, then type:
IDL> RETALL ;Gets back to main program level
IDL> XMANAGER ;Causes XMANAGER to clean itself up
This should allow you to rerun the application again and have it respond properly.
Ken Knighton, knighton@gav.gat.com, knighton@cts.com
Fusion Division
General Atomics
San Diego, CA
|
|
|
Re: widget crashes and restarts [message #5234 is a reply to message #5233] |
Sat, 28 October 1995 00:00  |
rivers
Messages: 228 Registered: March 1991
|
Senior Member |
|
|
In article <30916108.41C67EA6@shapley.colorado.edu>, Mark Fardal <fardal@shapley.colorado.edu> writes:
> Okay, I give up,
>
> If you have a widget application that crashes somewhere in the event
> handler, how do you (a) remove the current widget and (b) make sure
> everything is okay when you start the widget application again?
>
> I can destroy the widget either by closing the Xwindow or by typing
> WIDGET_CONTROL, /RESET. But then when I start up the widget again it
> is unresponsive; the buttons and menus can be manipulated but they
> don't call the event handler. Right now the only way I know of to
> restart the widget is to exit and restart IDL.
Take a look at your terminal window when it is unresponsive, you will probably
see the IDL prompt. If so then just type XMANAGER to start the event
processing.
____________________________________________________________
Mark Rivers (312) 702-2279 (office)
CARS (312) 702-9951 (secretary)
Univ. of Chicago (312) 702-5454 (FAX)
5640 S. Ellis Ave. (708) 922-0499 (home)
Chicago, IL 60637 rivers@cars3.uchicago.edu (Internet)
|
|
|