[comp.windows.x.motif] Debugging Autistic Behavior

lindsay@gandalf.cs.cmu.edu (Donald Lindsay) (06/26/91)

I'm appreciate suggestions as to how to debug something that just
**sits there**.

Specifically, I have a small rubber-band program that runs fine on
X11R4/Motif 1.1. It creates an XmDrawingArea directly via
XtCreateManagedWidget, does an XGrabButton, some XtAddEventHandler's,
and waits for the mouse. When the mouse arrives, the event handlers
hit, they do XDrawLine's, all is well.

I converted this to use UIL, and now the events aren't being caught.
The XmDrawingArea exists; XtIsManaged and XtIsRealized both return
True for it; the heirarchy-popup that I stole from "mre" shows the
widget with the right name and all that...

So, where are my events going? Is there a debugging method that I
should know?

Thanks,






-- 
Don		D.C.Lindsay 	Carnegie Mellon Robotics Institute