Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!ames!sun-barr!newstop!exodus!Sun.COM!shiffman From: shiffman@Sun.COM (Hank Shiffman) Newsgroups: comp.windows.x Subject: Re: dbxtool and xview programs Keywords: ARGGHHH!!!!! Message-ID: <7691@exodus.Eng.Sun.COM> Date: 8 Feb 91 22:17:04 GMT References: <4619@melon11.UUCP> <30451@shamash.cdc.com> Sender: news@exodus.Eng.Sun.COM Reply-To: shiffman@Sun.COM (Hank Shiffman) Organization: Sun Microsystems, Mountain View CA Lines: 22 In article <30451@shamash.cdc.com>, deano@raistlin.uucp (dean mason - 535-4717) writes: > > The problem is that when I set a breakpoint inside one of > my callbacks, it stops all right, the whole damn window manager > locks up! What you're running into relates to something in X called "grabs". The X application grabs the keyboard, mouse and server, which doesn't let anyone else in to do anything. Fortunately, there is a simple solution: set one of the fullscreen- debug variables in dbx or your program, which will disable this global grabbing. For example, put the -Wfsdb or -fullscreendebug switch on the run command. Look on page 139 of the XView Version 2 manual Converting SunView Applications for all the details. -- Hank Shiffman (415) 336-4658 Marketing Technical Specialist Sun Microsystems, Inc. shiffman@Eng.Sun.COM