[comp.windows.x] X Code That Works Only Under GDB

rls%onondaga.tcpip@GE-CRD.ARPA (09/23/88)

Received: by onondaga.steinmetz (3.2/1.1x Steinmetz)
	id AA01252; Thu, 22 Sep 88 17:58:54 EDT
Date: Thu, 22 Sep 88 17:58:54 EDT
From: Roderick Sprattling <rls%onondaga.tcpip@csbvax>
Posted-Date: Thu, 22 Sep 88 17:58:54 EDT
Message-Id: <8809222158.AA01252@onondaga.steinmetz>
To: xpert@athena.mit.edu
Subject: X Code That Works Only Under GDB

I've got an X program with a Command and Simple Widget managed under
a Box Widget. The Command widget's callback simple exits the program.
The Simple widget is dimensioned and used as a canvas to which a
pixmap is copied.

When executed under GDB, the program works. When run autonomously,
the Command widget works, but the Simple widget's window stays
white as snow, as though the pixmap were never copied.

Heard any similar reports? It's a bit like the employee who
works only when his boss is around.

Rod