On Dec 25, 2011, at 10:22 PM, Carsten Haitzler (The Rasterman) wrote:

> On Sun, 25 Dec 2011 17:49:21 +0100 Leif Middelschulte
> <[email protected]> said:
> 
>>>> On Dec 23, 2011, at 9:41 PM, Carsten Haitzler (The Rasterman) wrote:
>>>> 
>>>> you're going to need to start an xserver raw without any "gdm".
>>>> 
>>>> Xorg -ac :1 &
>>>> 
>>>> run that in a text console somewhere.
>>>> in another text console do:
>>>> 
>>>> export E_START=1
>>>> gdb enlightenment
>> Thanks to raster for helping out here :-)
>> But shouldn't this be
>> gdb enlightenment_start instead?
> 
> nup. because enlightenment_start execs enlightenment after some very basic
> initial sanity checks/setup. enlightenment_start was intended to not use any
> efl (though it now uses eina) so it can set up ld_library_path and other 
> things
> in case efl is installed in a non-standard place etc. as such we can probably
> kill enlightenment_start now. anyway - an exec breaks gdb's attachment and 
> then
> it is no longer tracing e. :)
> 
>>>> br _e_randr_crtc_info_set
>>>> r
>>>> 
>>>>> But, e never crashes though. What happens is that I'll run startx from
>>>>> vt1,
>>>> 
>>>> it won't - you have to make it STOP when it hits that function with a
>>>> breakpoint (br). you have to set it up before e starts like above.
>>>> 
>>> 
>>> Thanks! Attached are three sequential console shots, after hitting the
>>> breakpoint three times . These seem to look exactly the messages I saw
>>> earlier.
>> 
>> Sadly you did something wrong when trying to run e via gdb. Ecore_X
>> fails to initialize, which is way before e_randr initialization.
> 
> forgot to mention:
> 
> export DISPLAY=:1
> 
> :)

ah, will try again tomorrow ;)




------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to