Re: [Lazarus] Only VCL-compatible components in LCL

2014-12-11 Thread Martin Frb
On 11/12/2014 07:54, Juha Manninen wrote: True, LCL must have other useful components, too. I am not really against adding this particular component if it proves to be different enough compared to existing comps. Somebody else must decide that. Still, I have understood LCL should be kept small r

Re: [Lazarus] Default debug mode and internal debugger

2014-12-07 Thread Martin Frb
On 07/12/2014 23:20, Mattias Gaertner wrote: Martin Frb hat am 7. Dezember 2014 um 22:57 geschrieben: [...] > but -pg, I do not think. You do not necessaries want to profile packages. IMHO the gprof output is far less readable if only the project units are compiled with -vg. But if you

Re: [Lazarus] Default debug mode and internal debugger

2014-12-07 Thread Martin Frb
On 07/12/2014 20:58, Mattias Gaertner wrote: On Sun, 07 Dec 2014 20:25:50 + Martin Frb wrote: "-gh" afaik is also project only (the mem manager applies to the entire exe) "-gl" makes some sense, as it adds some basic debug info (line info), not sure about the in

Re: [Lazarus] Default debug mode and internal debugger

2014-12-07 Thread Martin Frb
On 07/12/2014 16:38, Mattias Gaertner wrote: On Sat, 06 Dec 2014 21:16:47 + Martin Frb wrote: [...] It would also be good if packages could be set, to follow the dwarf/stabs selection of the project. (though that means more re-compiling). (I suspect some gdb deal badly with mixed info

Re: [Lazarus] Default debug mode and internal debugger

2014-12-07 Thread Martin Frb
On 07/12/2014 10:16, Mattias Gaertner wrote: What infos are supported by which debugger class? gdbmi (gdb) (and variants (ssh, remote) are the only ones that understand stabs. All of them understand dwarf2 ( and dwarf2 + sets) dwarf3 is beta to all of them. (gdb may actually crash on it),

Re: [Lazarus] Default debug mode and internal debugger

2014-12-07 Thread Martin Frb
On 07/12/2014 09:58, Mattias Gaertner wrote: What happens if the RTL is compiled with debug info and the project is compiled with another type? I dont know. Usualy it should work. Afaik it is allowed to mix them. Old gdb (7.2 7.3) seem to be ok. gdb 7.5.9 upwards has a lot of troubles. I a

Re: [Lazarus] Default debug mode and internal debugger

2014-12-06 Thread Martin Frb
On 06/12/2014 20:40, Joost van der Sluis wrote: On 12/04/2014 04:29 PM, Mattias Gaertner wrote: Or add a capability flag to the debugger class for external debug symbols. If the current debugger does not support it, the IDE does not pass the flag. Same holds for stabs-debug info. And yes, a c

Re: [Lazarus] Are there bugs? IDE source editor

2014-12-06 Thread Martin Frb
On 06/12/2014 11:59, FreeMan wrote: Kubuntu 14.04 x64 svn Lazarus QT widgetset 1- I cound find, in options. Open IDE, (New project) it has jus one tform. There is no tab in Source Editor, showing without tab. If I'm not wrong, it was in options, Show all ways editor tab or similar caption. T

Re: [Lazarus] Default debug mode and internal debugger

2014-12-05 Thread Martin Frb
Just to be sure, you refer to 3 different things throughout this mail threat. On 05/12/2014 09:16, Tony Whyman wrote: 8. Right mouse click and select Debug->Evaluate/Modify on the public property ODImage and the result is shown as "". See attached screenshot. 1) property On Thu, 04 Dec 2

Re: [Lazarus] Need testers for the a new debugger

2014-11-22 Thread Martin Frb
On 22/11/2014 01:33, Mattias Gaertner wrote: On Fri, 21 Nov 2014 23:51:13 +0100 Mattias Gaertner wrote: On Fri, 21 Nov 2014 16:31:26 +0100 Reimar Grabowski wrote: [...] Create new project -> run -> stop -> AV. The Assembler window initialized only if it was not docked. I fixed that. The AV

Re: [Lazarus] Need testers for the a new debugger

2014-11-22 Thread Martin Frb
Why do you want to pass the record instead of the pointer? The pointer is valid during the entire call (inside Append). Append does not store the pointer, but a copy of the data. So this is save. Passing the pointer saves the need to pass the entire record by value (or in other word, to make

Re: [Lazarus] Need testers for the a new debugger

2014-11-21 Thread Martin Frb
On 21/11/2014 22:46, Mattias Gaertner wrote: But I see it for example with any constructor. Even as simple as this: type TMyClass = class public i: Integer; constructor Create; end; constructor TMyClass.Create; begin i:=3; end; procedure TForm1.FormCreate(Sender: TObject)

Re: [Lazarus] Need testers for the a new debugger

2014-11-21 Thread Martin Frb
On 21/11/2014 15:23, Mattias Gaertner wrote: Without looking at it, I have seen that with gdb too, though only for certain complier help procs (iirc chek object stuff) Can you reproduce it? Actually no, I cant. But I have the RTL with debug info. If you dont then stepping needs to step over

Re: [Lazarus] Need testers for the a new debugger

2014-11-21 Thread Martin Frb
On 21/11/2014 14:03, Mattias Gaertner wrote: On Mon, 14 Jul 2014 23:13:14 +0200 Joost van der Sluis wrote: [...] The debugger has been improved a lot and I could need some help testing the thing. On single stepping the debugger always jumps into a proc, then to the end of the proc and then to

[Lazarus] Change to Search/Replace scope settings (all|selection). Opinion call.

2014-11-17 Thread Martin Frb
Before I make any change. Just to see if anyone relies on the old behaviour. http://forum.lazarus.freepascal.org/index.php?topic=26482.new#new IF, and only if you do not use "Find text at cursor" from the editor options (this is, a selected word does NOT become your search term): Does anyone re

Re: [Lazarus] Problem using "watch"

2014-11-16 Thread Martin Frb
Did you compile with -O- (no optimization) and no smartlinking? http://wiki.lazarus.freepascal.org/Debugger_Setup Looks like gdb gets the wrong debug inf.o You can also try switching between stabs and dwarf. On 16/11/2014 03:25, Xiangrong Fang wrote: When I do single step, I want to know the

Re: [Lazarus] Lazarus 1.2.6 and GDB 7.7

2014-11-14 Thread Martin Frb
On 14/11/2014 10:01, Tony Whyman wrote: Is anyone having much luck with Lazarus 1.2.6 and GDB 7.7 (I'm using Linux Mint 17/Ubuntu 14.4). As soon as I start using it with anything more than a simple program and still using the default debug settings, the debugger keeps crashing when an exception

Re: [Lazarus] working with editor in column mode in Lazarus

2014-11-07 Thread Martin Frb
On 07/11/2014 10:10, duilio foschi wrote: 1. I select some text in column mode: ... while I would expect ALL occurences in the selected area be changed. ... I want to copy the equal sign in all the following lines at the same column (this is something I do all the time in Delphi). ... When

Re: [Lazarus] Copy only visible lines from the editor

2014-10-06 Thread Martin Frb
On 06/10/2014 19:00, Fabio Luis Girardi wrote: I don't know if this feature exists on Lazarus, but is possible to copy to clipboard only visible lines? See the attached picture to see a example... No, it doesn't exist. Not planned either. But what might work instead, and without the need to f

Re: [Lazarus] Request feature?

2014-10-02 Thread Martin Frb
On 02/10/2014 22:54, silvioprog wrote: On Thu, Oct 2, 2014 at 6:48 PM, Mattias Gaertner mailto:nc-gaert...@netcologne.de>> wrote: On Thu, 2 Oct 2014 18:36:38 -0300 silvioprog mailto:silviop...@gmail.com>> wrote: >[...] > Oops, no no, sorry hehe... to the unused units. E.g:

Re: [Lazarus] Problem in the debugger?

2014-09-30 Thread Martin Frb
On 30/09/2014 03:13, Xiangrong Fang wrote: Hi All, While I hover mouse over a variable during debugging, I often get popups shown as attached. Is there any known problem of the debugger, or I have to do some setup/tweak? What is your FPC Version? (Lazarus version too?) Did you compile w

Re: [Lazarus] GBD

2014-09-08 Thread Martin Frb
For 32 bit I recommend to keep 7.2 which is shipped with Lazarus. See also http://wiki.lazarus.freepascal.org/GDB_Debugger_Tips#Bugs_in_GDB There were many issues with newer versions. I do not know how 7.7 and 7.8 are doing. On 64 bit, sorry, I do not know (so code typhon is afaik shipping a

Re: [Lazarus] [FEATURE REQUEST] Tip of the day

2014-09-04 Thread Martin Frb
On 04/09/2014 22:49, silvioprog wrote: Could anyone send the PHP part of Lazarus web site that download TOTDs from wiki? The TOTDof the web site are not from the wiki. They are in a file on the web server. http://svn.freepascal.org/svn/lazaruswebsite/trunk/site/tips.txt As for my 2 penny

Re: [Lazarus] Enabling menu-options depending on a Lazarus-setting?

2014-09-04 Thread Martin Frb
Example in procedure TDebugManager.ConnectMainBarEvents; in ide/debugmanager On 04/09/2014 21:39, Joost van der Sluis wrote: On 09/02/2014 03:31 PM, Martin Frb wrote: On 02/09/2014 12:11, Joost van der Sluis wrote: Add a class[1] method to the debugger-class. return true/false, depending on

Re: [Lazarus] Enabling menu-options depending on a Lazarus-setting?

2014-09-02 Thread Martin Frb
On 02/09/2014 12:11, Joost van der Sluis wrote: Hi all, On Linux there's the option to view a window with the console-output of applications being debugged. This option is enabled with the define DBG_ENABLE_TERMINAL in three units. In debugger/debugger.pp the define is set for linux only,

Re: [Lazarus] GDB Logging options

2014-07-17 Thread Martin Frb
On 17/07/2014 13:54, Justin Smyth wrote: Hi All, With the recent changes I can now compile for my arm embedded target using lazarus and can get lazarus to use my EABI GDB to connect to openOCD V8 OK , is there a way I can see what commands are sent to GDB when lazarus starts it up ? I want to c

Re: [Lazarus] gdb debug server class

2014-07-07 Thread Martin Frb
On 07/07/2014 12:01, Justin Smyth wrote: Thanks As for the setter I've not added that , is that not the same as what I've already done ? afaik you need the setter -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.laz

Re: [Lazarus] gdb debug server class

2014-07-07 Thread Martin Frb
On 07/07/2014 11:08, Justin Smyth wrote: Hi folks , I'm trying to make a copy of GDBMiServerDebugger, to allow some extra gdb commands to be saved and parsed. Make sure you do that in trunk. All the units moved to new places -- ___ Lazarus

Re: [Lazarus] gdb debug server class

2014-07-07 Thread Martin Frb
On 07/07/2014 11:08, Justin Smyth wrote: Hi folks , I'm trying to make a copy of GDBMiServerDebugger, to allow some extra gdb commands to be saved and parsed. In the list of properties I want to add a list of strings to save, ie ( assuming i have changed the name of the class , I am just

Re: [Lazarus] Source Editor enhancement mini-patch

2014-06-26 Thread Martin Frb
On 26/06/2014 13:41, Michael Van Canneyt wrote: 'By default' also means "it can be disabled" for example by deinstalling it :) It would be just one more option in the bazillion other options already at one's disposal. By including it by default, it also gets more exposure and can be substa

Re: [Lazarus] Source Editor enhancement mini-patch

2014-06-26 Thread Martin Frb
On 26/06/2014 13:18, Michael Van Canneyt wrote: On Thu, 26 Jun 2014, Martin Frb wrote: On 26/06/2014 11:12, Hans-Peter Diettrich wrote: I also would like to have clickable forward/back items. They also might become part of the editor gutter? I'd rather see a custom drawn pagecontrol,

Re: [Lazarus] Source Editor enhancement mini-patch

2014-06-26 Thread Martin Frb
On 26/06/2014 11:12, Hans-Peter Diettrich wrote: Just a note: Delphi shorcuts for these are Alt-Left and Alt-Right. Keys can be re assigned. I too use the alt variant I also would like to have clickable forward/back items. They also might become part of the editor gutter? I'd rather see a

Re: [Lazarus] Source Editor enhancement mini-patch

2014-06-24 Thread Martin Frb
On 24/06/2014 08:50, Giuliano Colla wrote: Hi Lazarus team, Lazarus IDE is IMO so superior to Delphi's that any comparison would be unfair. However there's a Delphi IDE small feature which I miss when using Lazarus: a quick mouse access to the Jump Back/Jump Forward function, to navigate hist

Re: [Lazarus] question and suggestion

2014-06-20 Thread Martin Frb
On 20/06/2014 21:50, FreeMan wrote: 20-06-2014 23:28 tarihinde, Martin Frb yazdı: 2) If your lazarus install directory is writeable to the user (e.g. /home/user/laz_install ) , then: - some files (ppu) go into that directory, and NOT into pcp. then you need one install for EACH config

Re: [Lazarus] question and suggestion

2014-06-20 Thread Martin Frb
On 20/06/2014 20:31, FreeMan wrote: 20-06-2014 20:32 tarihinde, Sven Barth yazdı: The user should not need to see maybe should not, but have to now :) 20-06-2014 20:38 tarihinde, Martin Frb yazdı: then create little starter scripts, calling lazarus --pcp=foo See http

Re: [Lazarus] question and suggestion

2014-06-20 Thread Martin Frb
On 20/06/2014 18:07, FreeMan wrote: suggestion is lazarus app (exe) can in profile folder. why? Because installation dir may not be writeable to the user, depending on the kind of installation if wanna use multi source (version) of lazarus you have, can make multi profile via ./lazbuild --pc

Re: [Lazarus] [IDE] Translations of licence texts which are inserted into source code

2014-05-29 Thread Martin Frb
On 29/05/2014 13:49, Reinier Olislagers wrote: On 29/05/2014 14:41, Vojtěch Čihák wrote: No. Each country has its official language. Even if english is widely used (especially in IT), it means nothing from the point of view of jurisdiction. If you are commercial company and you want to do busine

Re: [Lazarus] [IDE] Translations of licence texts which are inserted into source code

2014-05-29 Thread Martin Frb
On 29/05/2014 07:45, Václav Valíček wrote: Hi folks, I have a question about translating licence text inserted by Source -> Insert General -> *Something. What do you think about translating? I have found some Czech licences translated, so I translated and corrected translations of the rest.

Re: [Lazarus] how to set two memos for parallel text editing ?

2014-05-27 Thread Martin Frb
Sorry, that mail was sent a bit quicker than I intended. On 28/05/2014 01:37, Martin Frb wrote: On 28/05/2014 00:46, Etienne Leblois wrote: Dear list, I want to edit two textfiles in a parallel way, so that visible portion of text one in memo1 has always same lines extent as the visible

Re: [Lazarus] how to set two memos for parallel text editing ?

2014-05-27 Thread Martin Frb
On 28/05/2014 00:46, Etienne Leblois wrote: Dear list, I want to edit two textfiles in a parallel way, so that visible portion of text one in memo1 has always same lines extent as the visible portion of text two in memo2, say lines n1 to n2. Of course WordWrap must be false, so that one_text

Re: [Lazarus] Open file dialog speed

2014-05-27 Thread Martin Frb
On 27/05/2014 18:15, Chris Crori wrote: Hi guys, Is there anything I can do to speed up the TOpenDialog window in windows? It takes more than 2 seconds in my application in Lazarus, a lot more than in any application I run on the same computer (Windows7, 32 bit) When your app runs in t

Re: [Lazarus] SynEdit1.SearchReplace(

2014-05-26 Thread Martin Frb
can you open a bug report on this please? I will then look at it as soon as I have time. (I am currently a bit busy, so it may be a while) On 26/05/2014 16:42, CML Christian Hartnick wrote: Hi, this is my first post on this list. I'm a former Delphi programmer now using lazarus. I'm writing

Re: [Lazarus] [lazarus] update version 1.22 doesn't compile

2014-05-24 Thread Martin Frb
On 25/05/2014 00:43, Bob Axtell wrote: My lazarus WAS working fine until I updated to 1.22. Errors say that it can't find PPU unit INTERFACES.PPU, but IN FACT it is right there, in the very spot it is complaining about. Don't know how to proceed...go back to the last version? What OS? If y

Re: [Lazarus] How to tell debugger what executable to use ?

2014-05-21 Thread Martin Frb
I dont know the answer, sa I do not have that scenario myself. It would help, if you can specify which commands, to send to gdb, if you run gdb outside lazarus. In Lazarus, There is also Menu: "Run" > "Run Parameter" which allaws to set the "Host application". That is the exe gdb should debug

Re: [Lazarus] icons (SynEdit tab)

2014-05-13 Thread Martin Frb
On 13/05/2014 20:28, Martin Frb wrote: On 13/05/2014 20:16, Junior wrote: "If the width is to small, the SynEdit needs 2 rows (as it has so many icons), and 2 rows of course means scrollbar" I am not referring to the width, but the height. Yes. But as I said, I can not reproduc

Re: [Lazarus] icons (SynEdit tab)

2014-05-13 Thread Martin Frb
o a single line (so if the form is wide enough) then the SynEdit tabs shows the scrollbar at the exact same time as the "Standard" tab. Em 13-05-2014 11:59, Martin Frb escreveu: On 13/05/2014 15:45, Junior wrote: Merely the preview. I resize (mainform IDE) to not get too big, the

Re: [Lazarus] icons (SynEdit tab)

2014-05-13 Thread Martin Frb
On 13/05/2014 15:45, Junior wrote: Merely the preview. I resize (mainform IDE) to not get too big, the icons of the other tabs are normal, but the SynEdit pops a ScrollBar horrible. I can not reproduce that. I resize the eight to the minimum possible without scrollbar on the first tab ("Stan

Re: [Lazarus] icons (SynEdit tab)

2014-05-13 Thread Martin Frb
On 13/05/2014 15:00, Junior wrote: The icons (SynEdit tab) are higher compared to the other tabs (IDE Lazarus - Pallet) If I open the files they are all 24 by 24 pixel images\components\tbutton.png images\components\tframe.png images\components\timagelist.png components\synedit\design\tsynedit

[Lazarus] bug tracker down again / too many sql connections

2014-05-04 Thread Martin Frb
see subject -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] Early daredevil alpha testers: FpGdbmiDebugger

2014-05-03 Thread Martin Frb
If anyone using trunk feels a bit daredevilish, feel free to test FpGdbmiDebugger. Do NOT use for production. / Use at your own risk only. Important: Read http://wiki.lazarus.freepascal.org/FpGdbmiDebugger It explains what to expect. More important, also what not to expect. And most important

Re: [Lazarus] how to debug from virtualbox

2014-04-28 Thread Martin Frb
On 28/04/2014 12:54, FreeMan wrote: I think it's easiest to install FPC+Lazarus on your Windows image even though you said you didn't want to do that. Alternatively, I suppose you could build with -g -gl and run the application in your image using gdb.exe and manually try to debug things. I don'

Re: [Lazarus] how to debug from virtualbox

2014-04-28 Thread Martin Frb
On 28/04/2014 11:46, FreeMan wrote: Hello, I have kubuntu 13.10 x64, fpc & lazarus last svn. My application work without problem on linux but, crosscompiled to win and test in win8, one form has a bug, application freezing without error, I need to debug it. I dont wanna install all fpc lazarus

Re: [Lazarus] Codetools fails to compile under WinCE

2014-04-26 Thread Martin Frb
On 26/04/2014 11:10, Mattias Gaertner wrote: and thus whenever it is included in a WinCE project the following error pops up upon compilation: .../lazarus-svn/components/codetools/fileprocs.pas(287,10) Error: Forward declaration not solved "dbgMemRange(PByte;LongInt;LongInt="0"):AnsiString;" db

Re: [Lazarus] Copy record contents to clipboard

2014-04-25 Thread Martin Frb
On 25/04/2014 22:53, Felipe Monteiro de Carvalho wrote: Hello, I have a very large record, and I see that I can see his contents using the nice dialog "Debug Inspector". But is it possible to copy that data to the clipboard or anywhere else? The record is very large, so a manual copy would take

Re: [Lazarus] [fpc-pascal] Lazarus 1.2.2 Release

2014-04-25 Thread Martin Frb
On 25/04/2014 18:39, Krzysztof wrote: Yes, I can type but carret is invisible. After checking "Persistent Caret" everything is working fine, thanks! 2014-04-25 18:45 GMT+02:00 Martin Frb <mailto:laza...@mfriebe.de>>: On 25/04/2014 17:07, Krzysztof wrote: Cursor

Re: [Lazarus] [fpc-pascal] Lazarus 1.2.2 Release

2014-04-25 Thread Martin Frb
On 25/04/2014 17:07, Krzysztof wrote: Cursor is not blinking. I don't know where it is Does the window have focus, can you type? Because when I press stop, then the window with the stop button (the main IDE bar) is focused. ANd yes in that case the caret (text cursor) is no blinking. If y

Re: [Lazarus] "TGDBMIDebuggerInstruction: "-file-exec-and-symbols ", "

2014-04-23 Thread Martin Frb
On 23/04/2014 19:29, Marcos Douglas wrote: On Fri, Apr 18, 2014 at 8:04 PM, Martin Frb wrote: On 18/04/2014 23:48, Martin Frb wrote: On 18/04/2014 17:09, Marcos Douglas wrote: On Thu, Apr 17, 2014 at 11:40 AM, Martin Frb wrote: http://wiki.lazarus.freepascal.org/GDB_Debugger_Tips

Re: [Lazarus] Additions to TAChart

2014-04-19 Thread Martin Frb
On 19/04/2014 21:26, Werner Pamler wrote: Recently I committed some changes to TAChart (by my alias "wp"), among them implementation of BiDiMode which may be important some users. The additions are in trunk, but what do I have to do that they are considered for the next Lazarus release? The 1

[Lazarus] improved async handling for remote debug [Re: Remote debugger looses connection to target on Windows 7]

2014-04-18 Thread Martin Frb
On 09/04/2014 17:54, Martin Frb wrote: But it did not for stepping >> TCmdLineDebugger.SendCmdLn "-exec-next &" << TCmdLineDebugger.ReadLn "^error,msg="A syntax error in expression, near `&&'."" Somehow strange, but that is what i

Re: [Lazarus] "TGDBMIDebuggerInstruction: "-file-exec-and-symbols ", "

2014-04-18 Thread Martin Frb
On 18/04/2014 23:48, Martin Frb wrote: On 18/04/2014 17:09, Marcos Douglas wrote: On Thu, Apr 17, 2014 at 11:40 AM, Martin Frb wrote: http://wiki.lazarus.freepascal.org/GDB_Debugger_Tips#gdb.exe_has_stopped_working in the field "debugger_startup_options" enter: --eval-command

Re: [Lazarus] "TGDBMIDebuggerInstruction: "-file-exec-and-symbols ", "

2014-04-18 Thread Martin Frb
On 18/04/2014 17:09, Marcos Douglas wrote: On Thu, Apr 17, 2014 at 11:40 AM, Martin Frb wrote: http://wiki.lazarus.freepascal.org/GDB_Debugger_Tips#gdb.exe_has_stopped_working in the field "debugger_startup_options" enter: --eval-command="set auto-solib-add off" But I hav

Re: [Lazarus] "TGDBMIDebuggerInstruction: "-file-exec-and-symbols ", "

2014-04-17 Thread Martin Frb
On 17/04/2014 04:46, Marcos Douglas wrote: Hi, I'm using FPC 2.6.5 (fixes_2_6) and Lazarus trunk on Windows. The GDB is updated too, here: http://svn.freepascal.org/svn/lazarus/binaries/i386-win32/gdb I run my program using the IDE and when program closes the IDE returns the error below... and

Re: [Lazarus] Handling exceptions with debugger

2014-04-15 Thread Martin Frb
On 16/04/2014 01:32, Chris Kelling wrote: I installed Lazarus 1.2.0 x64. A project ran fine under 1.0.4 i386 it ran fine. Under the new version the {$I-} and {$I+} ioresult coding causes the debugger to stop the execution and show an exception with the return code. What I need is for the debugg

[Lazarus] Fwd: [fpc-pascal] SourceForge April 2014 Project of the Month: Free Pascal

2014-04-15 Thread Martin Frb
FYI Original Message Subject: [fpc-pascal] SourceForge April 2014 Project of the Month: Free Pascal Date: Tue, 15 Apr 2014 09:43:11 -0300 From: João Marcelo Vaz Reply-To: FPC-Pascal users discussions To: FPC Mailing list Congratulations, FreePascal! http:

Re: [Lazarus] about raised exception class 'External: SIGSEGV'

2014-04-15 Thread Martin Frb
On 15/04/2014 11:55, FreeMan wrote: witch parameter have add for debuging 3rth party components ? Open the package, and click the options button. Then specify the same debugging settings as in your project. Note: This only works if the package comes with sources. -- __

Re: [Lazarus] about raised exception class 'External: SIGSEGV'

2014-04-14 Thread Martin Frb
On 14/04/2014 16:08, FreeMan wrote: QUE_1Delete; if QUE_1.Transaction.Active then QUE_1.Transaction.CommitRetaining; breakpoint on this line: QUE_1Delete; stop here, Press F8, jump to /opt/freepascal/2.7.1/packages/fcl-db/src/base/dataset.inc line: 1553 everything is okay, after this b

Re: [Lazarus] about raised exception class 'External: SIGSEGV'

2014-04-14 Thread Martin Frb
On 14/04/2014 11:49, FreeMan wrote: Hello, I get this errors some time, I can not handle this error so I don't know why raised. Project myproject raised exception class 'External: SIGSEGV'. -> Ok and continue to run application Project myproject raised exception class 'RunError(216)'. -> O

Re: [Lazarus] Error compiling lazbuild

2014-04-12 Thread Martin Frb
On 12/04/2014 23:36, Junior wrote: initialsetupdlgs.pas(47,77) Fatal: Can not find GDBMIDebugger used by InitialSetupDlgs, ppu=../components/lazdebuggergdbmi/lib/i386-linux/gdbmidebugger.ppu, package LazDebuggerGdbmi Lazarus 1.3 r44709 FPC 2.6.2 i386-linux-gtk 2 Linux Ubuntu 14.04 LTS Tha

Re: [Lazarus] Funny bug

2014-04-11 Thread Martin Frb
On 11/04/2014 13:03, Mattias Gaertner wrote: Under Linux '\' are converted when running with the gdb debugger. It does not happen when running with the 'none' debugger. Maybe this gives Martin an idea. Confirmed, or rather, they are in most cases dropped. That is a different issue though. An

Re: [Lazarus] Remote debugger looses connection to target on Windows 7

2014-04-11 Thread Martin Frb
On 11/04/2014 15:08, Bernd Mueller wrote: Martin Frb wrote: There are several possibilities, that I can think off: 1) some setting the IDE uses. - Gather all the "set foo=" commands that the IDE sends, and see if applying them to your manual driven gdb session makes a different.

Re: [Lazarus] Remote debugger looses connection to target on Windows 7

2014-04-11 Thread Martin Frb
On 11/04/2014 08:08, Michael Schnell wrote: On 04/10/2014 05:30 PM, Martin Frb wrote: So I will not add those gdb/gdbserver myself. I do not know, if anyone else wants to work on that. I did try (see the other mail). Also which installer should they be added to? I suppose you mean

Re: [Lazarus] Remote debugger looses connection to target on Windows 7

2014-04-10 Thread Martin Frb
On 10/04/2014 16:41, Michael Schnell wrote: On 04/10/2014 05:33 PM, Martin Frb wrote: That would work. (and I would accept a patch (adding an option / not making it mandatory) Sounds nice to me, especially regarding that gdbserver is not that "common" and hence not easily to

Re: [Lazarus] Remote debugger looses connection to target on Windows 7

2014-04-10 Thread Martin Frb
On 10/04/2014 18:04, Bernd Mueller wrote: If I use the standalone gdb on the Win7 Host instead of Lazarus, debugging on the remote target works correct. I had a look into the network traffic between target and host while debugging with Lazarus. If the stepping fails, one can see that the targ

Re: [Lazarus] Remote debugger looses connection to target on Windows 7

2014-04-10 Thread Martin Frb
On 10/04/2014 16:28, Michael Schnell wrote: On 04/10/2014 05:14 PM, Martin Frb wrote: Or do you have another way? A wild Idea might be to open two SSH sessions: one for gdb (maybe in sync mode of this makes sense), and another that just accesses a little SIGINTServer application that is

Re: [Lazarus] Remote debugger looses connection to target on Windows 7

2014-04-10 Thread Martin Frb
On 10/04/2014 16:20, Michael Schnell wrote: On 04/10/2014 03:30 PM, Martin Frb wrote: On 10/04/2014 14:14, Michael Schnell wrote: Moreover I found that, with an embedded target, finding or creating a normal gdb might be a lot easier that finding or creating the "cross gdb" (running

Re: [Lazarus] Remote debugger looses connection to target on Windows 7

2014-04-10 Thread Martin Frb
On 10/04/2014 16:16, Michael Schnell wrote: On 04/10/2014 05:06 PM, Michael Schnell wrote: Manually using gdb via ssh (to bash) can do it, So why should the IDE not be able to ? (Or does - when in non-remote mode - the IDE really send a SigInt *directly* to the application and not via the deb

Re: [Lazarus] Remote debugger looses connection to target on Windows 7

2014-04-10 Thread Martin Frb
On 10/04/2014 16:06, Michael Schnell wrote: On 04/10/2014 03:30 PM, Martin Frb wrote: The IDE ssh debugger, can not pause the app either. I don't understand why this should be the case. Manually using gdb via ssh (to bash) can do it, So why should the IDE not be able to ? (Or does -

Re: [Lazarus] Remote debugger looses connection to target on Windows 7

2014-04-10 Thread Martin Frb
On 10/04/2014 15:06, Bernd Mueller wrote: Martin Frb wrote: gdbserver seems to have some options to track problems, maybe try them? Options: --debug Enable general debugging output. This is very strange. If I activate --debug, then everything seems to work. As if slowing down

Re: [Lazarus] Remote debugger looses connection to target on Windows 7

2014-04-10 Thread Martin Frb
On 10/04/2014 14:14, Michael Schnell wrote: On 04/09/2014 06:27 PM, Bernd Mueller wrote: I stepped through the program until the problem occurred and hit then pause. As far as I could see, nothing happened. Then I hit stop. I once was told that with using gdbserver, "Pause" (while not hittin

Re: [Lazarus] Remote debugger looses connection to target on Windows 7

2014-04-10 Thread Martin Frb
On 10/04/2014 12:28, Bernd Mueller wrote: You could try, if you are on that line, instead of stepping (F8), set a breakpoint the next line (lines, if there is a conditional), and use F9. Then, with F9 you should be able to use the pause button And then try, what happens if you hit the pau

Re: [Lazarus] Remote debugger looses connection to target on Windows 7

2014-04-09 Thread Martin Frb
On 09/04/2014 17:27, Bernd Mueller wrote: Martin Frb wrote: Please run with a logfile: http://wiki.lazarus.freepascal.org/GDB_Debugger_Tips#Log_info_for_debug_session I have the log file attached. What code is on this line? Stepping will only work, if that code actually reaches the

Re: [Lazarus] Remote debugger looses connection to target on Windows 7

2014-04-09 Thread Martin Frb
On 09/04/2014 12:06, Bernd Mueller wrote: Hello, I am using Lazarus 1.2.0. On Windows 2000 I am able to debug an application via the remote debugger (gdbserver) on an ARM-LINUX target. Using the same setup does not work reliable on Windows 7. If I step through the application, at some point,

Re: [Lazarus] Lazarus error

2014-04-08 Thread Martin Frb
On 08/04/2014 16:02, Martin Frb wrote: On 08/04/2014 15:59, Michael Van Canneyt wrote: On Tue, 8 Apr 2014, Martin Frb wrote: On 08/04/2014 15:25, Michael Van Canneyt wrote: Hi, I wanted to debug a project (testsuite project) in Lazarus, and got some errors at once when hitting run I

Re: [Lazarus] Lazarus error

2014-04-08 Thread Martin Frb
On 08/04/2014 15:59, Michael Van Canneyt wrote: On Tue, 8 Apr 2014, Martin Frb wrote: On 08/04/2014 15:25, Michael Van Canneyt wrote: Hi, I wanted to debug a project (testsuite project) in Lazarus, and got some errors at once when hitting run I then went to debug on the console with

Re: [Lazarus] Lazarus error

2014-04-08 Thread Martin Frb
On 08/04/2014 15:25, Michael Van Canneyt wrote: Hi, I wanted to debug a project (testsuite project) in Lazarus, and got some errors at once when hitting run I then went to debug on the console with GDB Has anyone experienced this before: (gdb) break FPC_RAISEEXCEPTION /build/buildd/gdb-7.4

Re: [Lazarus] Prevent visual updates

2014-04-01 Thread Martin Frb
On 01/04/2014 20:43, Chris Crori wrote: That is a great idea Mattias! a timer with "1" as interval is fast enough for responce application and slow enough to avoid flickering Another very good way to do this, is using Application.QueueAsync -- ___ L

Re: [Lazarus] RFC: Code tools Feature?

2014-03-27 Thread Martin Frb
On 27/03/2014 08:22, Michael Van Canneyt wrote: The intended use is that the IDE generates stuff like Procedure TMyClass.MyMethod; begin {$IFDEF LOGPROCESSFLOW}Log('Entering TMyClass.MyMethod');{$ENDIF} {$ENDIF LOGPROCESSFLOW}Log('Exiting TMyClass.MyMethod');{$ENDIF} end; If I have speci

Re: [Lazarus] debugging parts of rtl from within lazarus

2014-03-17 Thread Martin Frb
On 17/03/2014 16:40, Marc Santhoff wrote: the FAQ gives instructions for debugging FCL from within lazarus. http://wiki.lazarus.freepascal.org/Lazarus_Faq#How_can_I_debug_FCL_components_from_packages_with_Lazarus Does this work for RTL packages as well? The IDE doesn't rebuild RTL , or fpc pa

Re: [Lazarus] Lazarus 1.2 Release

2014-03-13 Thread Martin Frb
On 13/03/2014 13:23, silvioprog wrote: 2014-03-13 9:48 GMT-03:00 Mattias Gaertner >: [...] Link is up again, but snapshots are still outdated. It will updated? Not in the short term: http://forum.lazarus.freepascal.org/index.php/topic,23823.msg143296.htm

Re: [Lazarus] Debugging woes [Debugger error]

2014-03-11 Thread Martin Frb
On 11/03/2014 16:49, Den wrote: Hi all! I just thought I'd ask to see if anyone else was having the same problems as me with the current Lazarus SVN Trunk.. I'm using Linux 64bit (No Widget Set, no LCL). When you exit the program it states "Debugger Error" with the usual "Ooops, the debu

Re: [Lazarus] [fpc-devel] Lazarus 1.2 Release

2014-03-05 Thread Martin Frb
On 04/03/2014 14:52, Mattias Gaertner wrote: The Lazarus team is glad to announce the release of Lazarus 1.2. We are news worthy (german): http://www.heise.de/open/meldung/Lazarus-IDE-fuer-Pascal-und-Object-Pascal-in-Version-1-2-veroeffentlicht-2134703.html?wt_mc=rss.open.beitrag.rdf -- ___

Re: [Lazarus] Is this bug ? or how to do?

2014-03-01 Thread Martin Frb
On 01/03/2014 12:25, FreeMan wrote: I understood, I'm not lawyer, I'm sure you expert then me about this. I understanding from this message, who use "antique greek city name" (this is be wrong too) who use "antique Hellenic city name" can NOT write any code,can NOT any developing about that cl

Re: [Lazarus] Is this bug ? or how to do?

2014-03-01 Thread Martin Frb
On 01/03/2014 10:52, FreeMan wrote: I have a solution: (I get idea from Delphi_XE2/IDE/source/Property Editors/DBReg.pas) Please never post anything you got from looking at Delphi's source code. You may be violating their copyright. Unfortunately since you have looked at it, and your solutio

Re: [Lazarus] Is this bug ? or how to do?

2014-02-28 Thread Martin Frb
On 28/02/2014 16:32, FreeMan wrote: Thank you Martin, I was forget and checked it that. I add this lines and now field list opening. RegisterPropertyEditor(TypeInfo(string), TExLookUp, 'DataField', TFieldProperty);//DataSource := Dataset1 RegisterPropertyEditor(TypeInfo(string), TExLookUp, '

Re: [Lazarus] Is this bug ? or how to do?

2014-02-27 Thread Martin Frb
On 27/02/2014 10:18, FreeMan wrote: Hello, I'm writeing my exlookup component, I add 2 datasource and 3 field. Like a dblookupcombobox. my component's properties: FDataField : TFieldDataLink; FListField : TFieldDataLink; FKeyField : TFieldDataLink; On Objectinspector, property edi

Re: [Lazarus] Problem running EditorMacroScript on ARM was: Problem building for SPARC/Linux, and a couple of minor IDE wishlist items

2014-02-18 Thread Martin Frb
On 18/02/2014 14:38, Reinier Olislagers wrote: 2)ARM: pascal script has some support, it may be fixable, but I can not test... TBH, I'm not interested in testing it either. I'll just keep it disabled for all platforms in my default fpcup settings then. I look at disabling it, (if I remember)

Re: [Lazarus] Problem running EditorMacroScript on ARM was: Problem building for SPARC/Linux, and a couple of minor IDE wishlist items

2014-02-18 Thread Martin Frb
On 18/02/2014 12:01, Reinier Olislagers wrote: On 12/02/2014 17:50, Mark Morgan Lloyd wrote: I find that trunk+2.71 won't build as bigide, since PascalScript has no sparc.inc and it attempts to build for x86. I've raided this as http://mantis.freepascal.org/view.php?id=25709 and suggest that for

Re: [Lazarus] problem when compiling Lazarus

2014-02-17 Thread Martin Frb
On 17/02/2014 19:44, patspiper wrote: On 17/02/14 21:29, Martin Frb wrote: On 17/02/2014 18:43, patspiper wrote: On 17/02/14 20:27, Junior wrote: environmentopts.pp(44,76) Fatal: Can not find unit DbgIntfDebuggerBase used by EnvironmentOpts. Lazarus 1.3 FPC 2.6.2 i386-linux-gtk 2

Re: [Lazarus] problem when compiling Lazarus

2014-02-17 Thread Martin Frb
On 17/02/2014 18:43, patspiper wrote: On 17/02/14 20:27, Junior wrote: environmentopts.pp(44,76) Fatal: Can not find unit DbgIntfDebuggerBase used by EnvironmentOpts. Lazarus 1.3 FPC 2.6.2 i386-linux-gtk 2 Rebuilding the IDE from within even with the clean option does not work in this case

Re: [Lazarus] Where is the "maps" unit

2014-02-16 Thread Martin Frb
On 16/02/2014 20:03, Lubos Pintes wrote: Hi list, I tried to compile Lazarus after a long time, to test and possibly close issue I reported. Compilation failed with this message: dbgintfdebuggerbase.pp(39,3) Fatal: Can't find unit maps used by DbgIntfDebuggerBase Fatal: Compilation aborted I

<    1   2   3   4   >