On Fri, Jan 21, 2011 at 1:35 PM, Stéphane Ducasse <stephane.ducasse@inria.fr
wrote:
Eliot
it is possible with the current vms?
I think not, but I think its really really close. Basically instead of the VM responding to -headless you'd have the image respond to -headless and arrange that all the code that starts-up the GUI window is called from a new primitive, say, openDisplay. Right now (I think) the VM decides whether to open up the main display or not, and does so by looking for a -headless argument, and if not found, opening the GUI window which remains blank. Ask Igor to trace through the startup code on each platform, looking for "headless" in the source and I'm sure he'll find it. best Eliot
Stef On Jan 21, 2011, at 9:15 PM, Eliot Miranda wrote:
On Fri, Jan 21, 2011 at 11:44 AM, Stéphane Ducasse <
stephane.ducasse@inria.fr> wrote:
Eliot
does it mean that we could run headless and that if specified on the command line we could for example get a debugger open on bugs? Because I would love that for coral.
Exactly. In fact I think one mode is that one can get the system to snapshot when the error happens, one can then send the snapshot to a developer, and the snapshot comes up headful with the debugger.
Stef