Kirkwood, David A wrote: > I need to debug an X windows program which goes through many levels of > windos on the screen. I tried using ddd but the ddd display captures all of > the window events instead of the application I'm trying to debug capturing > them. Is there some standard way to debug X apps or, is there some > particular debugger better suited to this requirement? I'm using ddd.
It may help to run the program being debugged on a separate X display to the debugging tools, so that you can more reliably control what events it receives. If you debug it on the same display, its hard to avoid the program receiving expose, enter/leave, focus etc events as you use the debugging tools. You don't need a second machine; an Xvnc session will do. -- Glynn Clements <[EMAIL PROTECTED]> - To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
