[Lazarus] Unable to debug GUI
John Landmesser
jmlandmesser at gmail.com
Wed Jul 16 13:53:24 CEST 2014
..reminds me at a bug in intel Drivers i had trouble with on Linux-Mint
cinnamon:
try this (quote from a forum
http://forums.linuxmint.com/viewtopic.php?f=221&t=146477 ):
*************************************************************
I have a Intel GPU, and i have these annoying black windows.
But you can do it this way:
create as root the file /etc/X11/xorg.conf
in terminal type ( if you don't have a /etc/X11/xorg.conf ) :
sudo touch /etc/X11/xorg.conf
open editor in admin mode:
gksu gedit /etc/X11/xorg.conf
... and write/copy these lines:
Section "Device"
Identifier "Card0″
Driver "intel"
Option "AccelMethod" "sna"
EndSection
reboot
if that doesn't help do in terminal:
rm /etc/X11/xorg.conf
to delete it again
seems to work ok for me, but i have to test this some days first.
update: 10.07.14
..still working ok!
That was the solution for these annoying black pop-up windows!!
***********************************************************
Am Montag, den 14.07.2014, 11:08 +0200 schrieb Michael Van Canneyt:
> Hi,
>
> I have a machine on which I'm completely unable to debug GUI programs.
> The machine runs Ubunutu 12.04 LTS.
> If I try to debug, the whole system (at least X11, later the complete system)
> hangs as soon as there is a breakpoint in a GUI event handler.
>
> It doesn't matter whether I do the debugging in Lazarus or in GDB directly.
>
> The same program, the same breakpoint on another machine, same OS, works just fine.
>
> The sole difference between the 2 machines is the graphics display:
> An NVidea card on the machine that is OK,
> An on-board Intel chip on the machine that does not work.
>
> So I'm inclined to suspect a buggy intel graphics driver.
>
> Has anyone experienced such a situation? If so, I'd appreciate any hints you may have.
>
> Michael.
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
More information about the Lazarus
mailing list