Re: [lldb-dev] Debugee Unable to Open Window Due to "No available video device"

2017-11-09 Thread Jeremiah via lldb-dev
Well, that solves the problem. Thank you for the help. On Thu, Nov 9, 2017 at 7:45 PM, Jim Ingham wrote: > Xcode (on OS X) uses the lldb API to launch processes of all sorts including > ones that have widows, and has windows open, so this is not a general lldb > problem. > > lldb doesn’t do all

Re: [lldb-dev] Debugee Unable to Open Window Due to "No available video device"

2017-11-09 Thread Jim Ingham via lldb-dev
Xcode (on OS X) uses the lldb API to launch processes of all sorts including ones that have widows, and has windows open, so this is not a general lldb problem. lldb doesn’t do all that much magic to launch processes, it just calls posix_spawnp (on OS X) or fork & exec on Linux. I would be s

[lldb-dev] Debugee Unable to Open Window Due to "No available video device"

2017-11-09 Thread Jeremiah via lldb-dev
When using the LLDB API to launch a process from within a program that has opened a window, I am unable to open a window in the child process. When the child is using SDL I get "SDL Error: No available video device" and when the child is using GLX I get "Failed to open X display" I was also getti