[Lazarus] How to set defines for a project? Lazarus crashes...

micsch at gmail.com micsch at gmail.com
Tue Feb 9 18:22:22 CET 2016


Am Tuesday 09 February 2016 10:10:05 schrieb Bo Berglund:
> On Mon, 8 Feb 2016 23:24:35 +0100, micsch at gmail.com wrote:
> >> I am using Lazarus 1.6RC2 and FPC 3.0.0 on Raspbian Jessie.
> >
> >reboot ist not needed on linux
> >use a console and kill command
> >Ctrl-Alt-F1 for console
>
> Or use the terminal icon on the taskbar, right?
> But then what? How do I use kill to shut down Lazarus?
> I am used to Windows Task Manager where the running programs are
> listed and one can stop it, but how do I get a corresponding list in
> which to select Lazarus in Linux?
> 'man kill' indicates that I need a <pid> value but 'man pid' returns
> nothing.
>
> >Ctrl-Alt-F7 to go back to X
> >
> >UseCThreads is normaly added in the *.lpr file
> >Project->Project Inspektor
> > doubleclick lpr file
>
> When I added
> {$DEFINE UseCThreads}
> as the first line following the program line it works.
>
> :)
man top ;)



'top' command is your friend
then

k for kill
then the signal to kill
9 for termination ;)
15 for asking polite to close ;)




More information about the Lazarus mailing list