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] nonlcl basic issue: is codetools LCL dependent?

2014-06-28 Thread Martin Schreiber
eloped with exactly your requirements in mind. I actually have the same requirements. :-) Martin -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

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] Gdb and openocd via lazarus

2014-05-28 Thread Martin Schreiber
66", MODE="664", GROUP="users" ATTR{idProduct}=="0105", ATTR{idVendor}=="1366", MODE="664", GROUP="users" LABEL="jlink_rules_end" " "lsusb -v" lists the connected USB-dev

Re: [Lazarus] Gdb and openocd via lazarus

2014-05-28 Thread Martin Schreiber
indication where in the source it stopped. > The searched source directories must be listed in 'Project'-'Options'-'Debugger'-'Source directories'. What shows the status line below the MSEide main menu? BTW, the MSEide+MSEgui mailinglist is here: https://l

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] Gdb and openocd via lazarus

2014-05-21 Thread Martin Schreiber
minimal C-program with the gcc toolchain of your target. If that works the FPC adventure can start. ;-) Martin -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

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

2014-05-21 Thread Martin Schreiber
has support for such scenarios: http://mseide-msegui.sourceforge.net/pics/gdbtarget.png I use it with "AVR ONE!" and Segger J-Link interface. Martin -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

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 di

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] [LAZARUS] Any Free/Cheap Async Serial Port Component

2014-04-02 Thread Martin Gomez
On 02/04/2014 05:53 p.m., Roberto P. wrote: I'd like to point out that CPortLaz is multithreaded and that it has both a COM port object and a Packet object. The first one is used to setup, open and close the port; the second one connects to the first one and makes packet handling as simple as:

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] Windows.PostMessage vs Application.QueueAsyncCall

2014-03-19 Thread Martin Schreiber
riends? IIRC you already played with them? Martin -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

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
em code? never. I'm really bored. nevermind Please do NOT understand this my message like , "why not accept my solution" It was my mistake. so my first word "I understood". Antique hellenic city name will lost :) Thank you Martin, I learned one more think. - You can *use*

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),

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

Re: [Lazarus] Attn Martin, LazarusDir and FPCSourceDirectory not saved to environmentoptions.xml

2014-02-14 Thread Martin Frb
On 14/02/2014 15:23, leledumbo wrote: Ah...my bad, my FPC wasn't built with debugging info, only Lazarus was. Perhaps that could be the problem? But GDB knows when I give "b FPC_RAISEEXCEPTION"? OK, this is weird... FPC_RAISEEXCEPTION is declared Function fpc_RaiseException (Obj : TObject; An

Re: [Lazarus] Attn Martin, LazarusDir and FPCSourceDirectory not saved to environmentoptions.xml

2014-02-14 Thread Martin Frb
not pascal highlighted: unit1.pas [TEnvironmentOptions.Save] error writing "/home/leledumbo/.lazarus/environmentoptions.xml": EDOMError in DOMDocument.CreateElement PackageEditor_ NiceChartD7 0 Strange. It is raising a FPC exception. gdb should break here, but it does not. Martin,

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

2014-02-13 Thread Martin Frb
On 13/02/2014 06:41, Mark Morgan Lloyd wrote: I must admit that I only noticed that yesterday: my screens are fairly large but elderly so the contrast isn't as good as new ones. There's still the question of how this sort of thing works best with a split window (i.e. two parts of the same file

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

2014-02-12 Thread Martin Frb
On 12/02/2014 20:03, Mark Morgan Lloyd wrote: Martin Frb wrote: On 12/02/2014 16:50, Mark Morgan Lloyd wrote: Looking at the IDE, I find the "new" bar on the right of SynEdit useful but I wonder whether the developers would consider putting a digit marker rather than a rectangle t

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

2014-02-12 Thread Martin Frb
On 12/02/2014 16:50, Mark Morgan Lloyd wrote: Looking at the IDE, I find the "new" bar on the right of SynEdit useful but I wonder whether the developers would consider putting a digit marker rather than a rectangle to mark the position of a bookmark? That would allow a quick keyboard jump, a

Re: [Lazarus] Using different FPC versions

2014-02-10 Thread Martin Frb
On 10/02/2014 13:50, Mattias Gaertner wrote: Martin Frb hat am 10. Februar 2014 um 14:08 geschrieben: [...] I don't understand the "IDE directories" in "Paths": The IDE has one set of search paths for every directory. That means a package can have different sea

Re: [Lazarus] Using different FPC versions

2014-02-10 Thread Martin Frb
On 10/02/2014 12:17, Hans-Peter Diettrich wrote: Mattias Gaertner schrieb: http://wiki.lazarus.freepascal.org/IDE_Window:_Compiler_Options#Change_the_output_directory_of_project_and_all_packages Nice :-) I don't understand the "IDE directories" in "Paths": >> The IDE has one set of search p

Re: [Lazarus] New feature in 1.3 - Click through to members in Debug inspector

2014-02-07 Thread Martin Frb
On 07/02/2014 17:47, Kostas Michalopoulos wrote: Is it possible to make this a tree view with the records/objects/classes/etc being expandable on the spot instead of going back and forward, like in Visual Studio? That's is the ultimate idea, but it is more work, and I have other stuff to do fir

Re: [Lazarus] New feature in 1.3 - Click through to members in Debug inspector

2014-02-07 Thread Martin Frb
On 07/02/2014 09:34, Giuseppe wrote: Looks very interesting, there are snapshots of 1.3 or svn build should be done? Snapshots are currently not maintained, but it seems there still are some: ftp://ftp.freepascal.org/pub/lazarus/snapshots/ Search for todays date. Depends on your OS. (But in

[Lazarus] New feature in 1.3 - Click through to members in Debug inspector

2014-02-06 Thread Martin Frb
http://wiki.lazarus.freepascal.org/IDE_Window:_Variable_Inspector Lazarus 1.3 only: Now allows to double click on rows, if you look at a class or record. It will then display this member (in full, not just the address / that is, if it is of any type that can be displayed) Same for pointers. Th

Re: [Lazarus] Step Over/Into doesn't work if I store session info in a separate file

2014-01-29 Thread Martin Frb
On 30/01/2014 00:44, Felipe Monteiro de Carvalho wrote: On Wed, Jan 29, 2014 at 4:33 PM, Martin Frb wrote: The address suggests (if normal mem layout applies), that this is inside a dll (system dll). So that would explain why it cant set a breakpoint there. That can happen, if the dll is

Re: [Lazarus] Step Over/Into doesn't work if I store session info in a separate file

2014-01-29 Thread Martin Frb
On 29/01/2014 20:49, Felipe Monteiro de Carvalho wrote: I have a very wierd problem. In a big project, stopping in a breakpoint always works. But, if I simply set to store the session info in a lps file, then step into stops working =( with this error: http://imagizer.imageshack.us/v2/800x600q90

Re: [Lazarus] Lazarus Second Release Candidate, 1.2RC2

2014-01-16 Thread Martin
On 16/01/2014 22:26, Maxim Ganetsky wrote: 16.01.2014 23:55, Martin пишет: If you want to try, go ahead. I think that it should be your decision, because you will have to sort out possible bugs. Personally I am fine with current default. For me it is not a priority at the moment. Especially

<    1   2   3   4   5   6   7   8   9   10   >