Re: [Lazarus] Add package

2013-09-19 Thread Antonio Fortuny
Le 18/09/2013 17:03, Graeme Geldenhuys a crit: On 2013-09-18 11:09, Antonio Fortuny wrote: The package is Indy. On a different subject. What is the latest Indy version that works with FPC? I have 10.5.8 here, is that the latest

Re: [Lazarus] Can Lazarus IDE debugger attach to already running process?

2013-09-19 Thread Michael Schnell
On 09/18/2013 05:54 PM, Sven Barth wrote: http://wiki.lazarus.freepascal.org/Lazarus_1.2.0_release_notes#IDE_Changes current 1.1 versions support attaching to a running process. The page also states that remote debugging with gdbserver is supported. Dis anybody get this running for a PC as

Re: [Lazarus] Tag code on Lazarus Wiki

2013-09-19 Thread Reinier Olislagers
On 18/09/2013 17:19, William Oliveira Ferreira wrote: Itriedyour tipbut notserved aswas expectedbecauseit createsa boxfor eachTAGusedin code.If I puteachreserved wordor functionwithin thistag,eachwordisinaboxwithdottedoutline.This tagyou suggestedservesforcode blocks,butnot whena reserved

Re: [Lazarus] Can Lazarus IDE debugger attach to already running process?

2013-09-19 Thread Martin
On 19/09/2013 08:23, Michael Schnell wrote: On 09/18/2013 05:54 PM, Sven Barth wrote: http://wiki.lazarus.freepascal.org/Lazarus_1.2.0_release_notes#IDE_Changes current 1.1 versions support attaching to a running process. The page also states that remote debugging with gdbserver is

Re: [Lazarus] Build IDE: Please specify a package name with --package=name

2013-09-19 Thread Reinier Olislagers
On 18/09/2013 18:16, Marcos Douglas wrote: On Wed, Sep 18, 2013 at 12:40 PM, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Wed, 18 Sep 2013 12:23:11 -0300 Marcos Douglas m...@delfire.net wrote: Did you see the printscreen before? 1. I'd suggest right clicking on the messages, copying

Re: [Lazarus] Can Lazarus IDE debugger attach to already running process?

2013-09-19 Thread Reinier Olislagers
On 18/09/2013 20:57, Graeme Geldenhuys wrote: Once I get it working, I'll update the CGI Web Programming [http://wiki.freepascal.org/CGI_Web_Programming] wiki page on the alternative way to debugging CGI apps. Thanks - that may well save me some trouble next time ;) --

Re: [Lazarus] Can Lazarus IDE debugger attach to already running process?

2013-09-19 Thread Michael Schnell
On 09/19/2013 09:35 AM, Martin wrote: Does gdb suppor asyncronous mode for this target? I don't know. We tried to attach to gdbserver via TCP/IP. e.g can you gdb -i mi -exec-continue I did not do this myself, but a pal of mine from the German Lazarus forum did these tests. So I can't

Re: [Lazarus] Tag code on Lazarus Wiki

2013-09-19 Thread Graeme Geldenhuys
On 2013-09-19 08:29, Reinier Olislagers wrote: OT: Nice, those HTML mails... +1 and so to for people that over quote in replies. Anyway, seeing that you are using Thunderbird simply do the following: View - Message Body As - Plain Text That's my default setting and works very well. Regards,

Re: [Lazarus] Can Lazarus IDE debugger attach to already running process?

2013-09-19 Thread Martin
On 19/09/2013 09:07, Michael Schnell wrote: In fact I preferred to try to make working to have Lazarus remotely attach to a full gdb on the target via SSH. (When I last looked at it there ware some disabled lines of code for this in the Lazarus sources. look at

Re: [Lazarus] Can Lazarus IDE debugger attach to already running process?

2013-09-19 Thread Michael Schnell
On 09/19/2013 12:08 PM, Martin wrote: The other is that for all targets you can easily get a native gdb out of the box, while it might be rather tedious to install all the tools to create the appropriate gdbserver on the target and the cross-gdb executable on the PC you need to attach to

Re: [Lazarus] Can Lazarus IDE debugger attach to already running process?

2013-09-19 Thread Michael Schnell
On 09/19/2013 12:27 PM, Michael Schnell wrote: typo: he never again was able to compile gdb/gdbserver. -Michael -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Can Lazarus IDE debugger attach to already running process?

2013-09-19 Thread Michael Schnell
On 09/19/2013 12:27 PM, Michael Schnell wrote: He was up to ... pushing it in the Lazarus wiki. In fact he did start to write a report in German, and I promised to translate it for the Wiki, once it is done, and enhance it on how to use the SSH-Remote debugging. -Michael --

Re: [Lazarus] Can Lazarus IDE debugger attach to already running process?

2013-09-19 Thread Reinier Olislagers
On 19/09/2013 12:36, Michael Schnell wrote: On 09/19/2013 12:27 PM, Michael Schnell wrote: He was up to ... pushing it in the Lazarus wiki. In fact he did start to write a report in German, and I promised to translate it for the Wiki, once it is done, and enhance it on how to use the

Re: [Lazarus] Can Lazarus IDE debugger attach to already running process?

2013-09-19 Thread Michael Schnell
On 09/19/2013 12:38 PM, Reinier Olislagers wrote: Sounds like an inefficient process. Why doesn't he just upload a German version to the German version of the/a wiki page so the text is already there and anybody that speaks German English can help translate it... OK, if we do have

Re: [Lazarus] Can Lazarus IDE debugger attach to already running process?

2013-09-19 Thread Graeme Geldenhuys
On 2013-09-18 18:30, Martin wrote: If you use an integer var, you can modify it from the IDE. Do not modify managed types OK, I got the latest Lazarus from Trunk and compiled it with FPC 2.6.2 and using GDB 7.2 under Win2000 (a VM). I enter the PID and click OK. The Lazarus IDE shows

Re: [Lazarus] Add package

2013-09-19 Thread Marco van de Voort
On Wed, Sep 18, 2013 at 01:01:59PM +0200, Mattias Gaertner wrote: All units (*.o and *.ppu) have been compiled with the package itself and are visible in the ./lib/x86_64-linux folder I couldn't find something similar in the history. Last time I tried Indy it had some circular

Re: [Lazarus] Can Lazarus IDE debugger attach to already running process?

2013-09-19 Thread Martin Schreiber
Am 19.09.2013 13:20, schrieb Graeme Geldenhuys: Not sure if I'm doing wrong. I'll try with GDB command line and MSEide under Windows now. Better try on Linux. gdb on Windows is always a lottery... Martin -- ___ Lazarus mailing list

Re: [Lazarus] Add package

2013-09-19 Thread Mattias Gaertner
On Thu, 19 Sep 2013 14:49:09 +0200 Marco van de Voort mar...@stack.nl wrote: On Wed, Sep 18, 2013 at 01:01:59PM +0200, Mattias Gaertner wrote: All units (*.o and *.ppu) have been compiled with the package itself and are visible in the ./lib/x86_64-linux folder I couldn't find something

Re: [Lazarus] Can Lazarus IDE debugger attach to already running process?

2013-09-19 Thread Martin
On 19/09/2013 13:20, Graeme Geldenhuys wrote: On 2013-09-18 18:30, Martin wrote: If you use an integer var, you can modify it from the IDE. Do not modify managed types OK, I got the latest Lazarus from Trunk and compiled it with FPC 2.6.2 and using GDB 7.2 under Win2000 (a VM). I enter the

Re: [Lazarus] Can Lazarus IDE debugger attach to already running process?

2013-09-19 Thread Michael Schnell
On 09/19/2013 02:20 PM, Graeme Geldenhuys wrote: OK, I got the latest Lazarus from Trunk and compiled it with FPC 2.6.2 and using GDB 7.2 under Win2000 (a VM). Good man. Doing this I just got (on Linux): Compiling debugmanager.pas debugmanager.pas(63,3) Error: Duplicate identifier

Re: [Lazarus] Can Lazarus IDE debugger attach to already running process?

2013-09-19 Thread Michael Schnell
On 09/19/2013 03:09 PM, Michael Schnell wrote: Ooops: I was using fpc 2.7.1. Anyway. -Michael -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] TControl.EndDrag is missing

2013-09-19 Thread Juha Manninen
On Tue, Sep 17, 2013 at 9:47 PM, Graeme Geldenhuys gra...@geldenhuys.co.uk wrote: Last time I tested drag-n-drop [end of 2012 if I remember correctly], and followed some Delphi tutorials (even official Delphi ones), LCL's DND was still badly broken [especially on nested components]. I would go

Re: [Lazarus] TControl.EndDrag is missing

2013-09-19 Thread Juha Manninen
Correction: the GUI for component palette options works well only with GTK2. All other widgetsets have some problems. Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Can Lazarus IDE debugger attach to already running process?

2013-09-19 Thread Graeme Geldenhuys
On 2013-09-19 14:05, Martin wrote: [1] Just realising, the attach module does not currently fix this extra thread. It should probably automatically select the main thread. OK, selecting thread 1 does help a bit, and after some trial and error I get to the breakpoint of the infinite while

Re: [Lazarus] Can Lazarus IDE debugger attach to already running process?

2013-09-19 Thread Martin
On 19/09/2013 15:01, Graeme Geldenhuys wrote: On 2013-09-19 14:05, Martin wrote: [1] Just realising, the attach module does not currently fix this extra thread. It should probably automatically select the main thread. OK, selecting thread 1 does help a bit, and after some trial and error I get

Re: [Lazarus] TControl.EndDrag is missing

2013-09-19 Thread Hans-Peter Diettrich
Juha Manninen schrieb: On Tue, Sep 17, 2013 at 9:47 PM, Graeme Geldenhuys gra...@geldenhuys.co.uk wrote: Last time I tested drag-n-drop [end of 2012 if I remember correctly], and followed some Delphi tutorials (even official Delphi ones), LCL's DND was still badly broken [especially on nested

Re: [Lazarus] New feature: Find references of a used unit

2013-09-19 Thread Martin
On 19/09/2013 19:56, Martin wrote: On 19/09/2013 19:25, Mattias Gaertner wrote: Implemented. Great. Thanks. Yet something not yet working, they show on some rtl units (win/sysutils) Which (for whatever reason) is in view, whew I open the window. But I do not see them on other units (

Re: [Lazarus] New feature: Find references of a used unit

2013-09-19 Thread Mattias Gaertner
On Thu, 19 Sep 2013 20:10:17 +0100 Martin laza...@mfriebe.de wrote: On 19/09/2013 19:56, Martin wrote: On 19/09/2013 19:25, Mattias Gaertner wrote: Implemented. Great. Thanks. Yet something not yet working, they show on some rtl units (win/sysutils) Which (for whatever

Re: [Lazarus] New feature: Find references of a used unit

2013-09-19 Thread Mattias Gaertner
On Sun, 15 Sep 2013 16:27:07 +0100 Martin laza...@mfriebe.de wrote: On 15/09/2013 16:24, Martin wrote: On 15/09/2013 16:12, Martin wrote: On 15/09/2013 15:17, Mattias Gaertner wrote: I can add an overlay icon to all the units and uses in cycles if you provide an icon. from famfam,

Re: [Lazarus] New feature: Find references of a used unit

2013-09-19 Thread Martin
On 19/09/2013 19:25, Mattias Gaertner wrote: Implemented. Great. Thanks. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] New feature: Find references of a used unit

2013-09-19 Thread Martin
On 19/09/2013 20:47, Mattias Gaertner wrote: l: EditorFileManager Intf: SourceEditor ? SourceEditor does not use EditorFileManager. Ups sorry, thot is in the usedby section -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

[Lazarus] Access violation during compile..

2013-09-19 Thread Samps
Trying to compile (anything, but in this case, just an empty form in a stock project) I get an Access Violation, with the option to continue and risk data corruption (which does nothing but dismiss the error dialog) and 'cancel', which closes the IDE altogether without presenting me with a 'save'