Re: [Lazarus] CFI in FpDebug

2022-06-29 Thread Joost van der Sluis via lazarus
Op 29-06-2022 om 10:31 schreef Pascal Riekenberg via lazarus: I use fpc trunk (3.3.1) Seems there is a problem in the internal linker on Windows. It does not properly relocate the CFI information. You can compile with '-Xe' to use the external linker. That also fixes this problem and this

Re: [Lazarus] CFI in FpDebug

2022-06-29 Thread Joost van der Sluis via lazarus
Op 29-06-2022 om 09:59 schreef Pascal Riekenberg via lazarus: i did this to temporary solve it for me: components/fpdebug/fpdbgdwarfdataclasses.pas | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) I've committed something similar. I suppose you are using fpc 3.2.3? Regards,

[Lazarus] CFI in FpDebug

2022-06-28 Thread Joost van der Sluis via lazarus
Hi all, I've just pushed a commit that changed the stack-unwinding logic for FpDebug. What is new is that when the executable includes Call Frame Information (CFI) as specified by the Dwarf-format and CFI is available for the a certain location, the CFI is used to unwind the stack.

Re: [Lazarus] Playing with debuggers

2021-10-30 Thread Joost van der Sluis via lazarus
Op 17-09-2021 om 21:19 schreef Joost van der Sluis via lazarus: Op 14-09-2021 om 17:12 schreef Martin Frb via lazarus: On 14/09/2021 16:11, Joost van der Sluis via lazarus wrote: 1) All watches should be part of the "watches" list. (or alternative means must be found).

Re: [Lazarus] Playing with debuggers

2021-09-17 Thread Joost van der Sluis via lazarus
Op 14-09-2021 om 17:12 schreef Martin Frb via lazarus: On 14/09/2021 16:11, Joost van der Sluis via lazarus wrote: 1) All watches should be part of the "watches" list. (or alternative means must be found). This is so the debugger can update them, if the user changes memory (set a

Re: [Lazarus] Playing with debuggers

2021-09-14 Thread Joost van der Sluis via lazarus
Op 14-09-2021 om 14:27 schreef Martin Frb via lazarus: I started about "sub watches" before reading your "every watch has a reference" On 14/09/2021 11:00, Joost van der Sluis via lazarus wrote: Op 14-09-2021 om 02:18 schreef Martin Frb via lazarus: 1) All wa

Re: [Lazarus] Playing with debuggers

2021-09-14 Thread Joost van der Sluis via lazarus
Op 14-09-2021 om 14:26 schreef Michael Van Canneyt via lazarus: On Tue, 14 Sep 2021, Joost van der Sluis via lazarus wrote: Hi all, I'm playing with several debuging-concepts. And I want to share this one with you. I've created a new Lazarus-debugger LazDabDebugger that can work

Re: [Lazarus] Playing with debuggers

2021-09-14 Thread Joost van der Sluis via lazarus
Op 14-09-2021 om 02:18 schreef Martin Frb via lazarus: On 14/09/2021 01:00, Joost van der Sluis via lazarus wrote: I'm playing with several debuging-concepts. And I want to share this one with you. I've created a new Lazarus-debugger LazDabDebugger that can work with FpdServer. It depends

[Lazarus] Playing with debuggers

2021-09-13 Thread Joost van der Sluis via lazarus
Hi all, I'm playing with several debuging-concepts. And I want to share this one with you. I've created a new Lazarus-debugger LazDabDebugger that can work with FpdServer. It depends on a package (LazDebugExtensionIntf) that adds another way of showing debugging variables inside Lazarus.

Re: [Lazarus] Add your own fpmake packages to the fppkg-repository

2020-04-29 Thread Joost van der Sluis via lazarus
Op 17-04-2020 om 14:24 schreef silvioprog via lazarus: I've tried to explain how it works over here: https://fppkg.cnoc.nl/documentation I'm really curious which packages will appear... This is good news and thank you for publishing!  I'm going to study how it works and publish

Re: [Lazarus] Add your own fpmake packages to the fppkg-repository

2020-04-29 Thread Joost van der Sluis via lazarus
Op 19-04-2020 om 19:59 schreef Werner Pamler via lazarus: Am 17.04.2020 um 13:43 schrieb Joost van der Sluis via lazarus: Everyone can log-in with a bug-tracker of forum account. Note that every fpc-version has it's own repository. And that there are two flavours: testing and production

[Lazarus] Add your own fpmake packages to the fppkg-repository

2020-04-17 Thread Joost van der Sluis via lazarus
Hi all, As you might know there is an online repository with packages which you can use with Free Pascal. It is now possible to add your own packges at https://fppkg.cnoc.nl/. At the moment the packages which are installed together with Free Pascal are availabe, plus some packages I added

Re: [Lazarus] Sorting BufferDataset

2020-04-17 Thread Joost van der Sluis via lazarus
Op 13-04-2020 om 13:59 schreef Santiago A. via lazarus: No need to create indexes or dropping indexes or changing fields of an index. Just leave IndexName blank and play with IndexFieldNames (that in fact changes the fields of index ''). and if you set  IndexFieldNames to blank it restores

Re: [Lazarus] SVN and missing components

2019-04-13 Thread Joost van der Sluis via lazarus
Op 13-04-19 om 16:17 schreef frans via lazarus: Can anyone explain to me why not all possible components are availabe on SVN? Foir instance sqldb and splashabout? Well, one of those is available on svn: https://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/packages/fcl-db/src/sqldb/ Maybe

Re: [Lazarus] Cannot build trunk

2019-04-13 Thread Joost van der Sluis via lazarus
Op 13-04-19 om 14:41 schreef Vojtěch Čihák via lazarus: the latest trunk 60960 can't be built: fppkghelper.pas(524,20) Error: Identifier idents no member "ConfigurationFilename" You have to update fpc. (I suppost you are using fpc-trunk?) Regards, Joost. --

Re: [Lazarus] Raspbian FPC 3.3.1 and Lazarus 2.0 Available

2019-03-22 Thread Joost van der Sluis via lazarus
Op 22-03-19 om 15:38 schreef Milan Baša via lazarus: Downloaded from Walters page, tryied two times. I bought 16GB and now I am updating Stretch. I will send a message. Thx I know nothing about Walter's page. But you need a Lazarus version that is compiled for exactly your system. (Processor,

Re: [Lazarus] Raspbian FPC 3.3.1 and Lazarus 2.0 Available

2019-03-22 Thread Joost van der Sluis via lazarus
On 3/21/19 1:55 PM, Milan Baša via lazarus wrote: OK. Thank You. I will buy larger SD. This one is what I have at home. Tomorrow I will try new card. Thank you for the effort. Ik Lazarus crashes (Access violation) immediately on startup this has probably nothing to do with the size of your

Re: [Lazarus] Problems using RunCommandIndir with Lazarus 2.0.0

2019-03-06 Thread Joost van der Sluis via lazarus
Op 06-03-19 om 08:52 schreef Bo Berglund via lazarus: I finally used the poNoConsole flag in the options even though the Lazarus help specifically states it ONLY works in Win32. This was probably written when there was no Win64 LCL-widgetset yet. At that time, 'Win32' was synonymous to 'The

Re: [Lazarus] How to configure Fppkg in IDE startup dialog with FPC 3.2 ?

2019-03-02 Thread Joost van der Sluis via lazarus
Op 02-03-19 om 15:26 schreef Martok via lazarus: Am 02.03.2019 um 13:32 schrieb Joost van der Sluis via lazarus: Then something is wrong with fpcupdeluxe. If FPC, Lazarus, fpmake all find the correct paths, but fppkg does not, then this is clearly the installer's fault. Flawless logic

Re: [Lazarus] How to configure Fppkg in IDE startup dialog with FPC 3.2 ?

2019-03-02 Thread Joost van der Sluis via lazarus
Op 16-02-19 om 20:03 schreef AlexeyT via lazarus: -I deleted FPC 3.0.4 from Linux x64 OS path (/usr/.) -Instead installed FPC fixes3.2 via FpcUpDeluxe into ~/fpcupdeluxe/fpc IDE after recompiling via FPC 3.2 now asks FPPKG path!! in startup dialog. I cannot solve it. I tried all paths

Re: [Lazarus] fppkg - autodetect on Windows

2019-03-02 Thread Joost van der Sluis via lazarus
Op 16-02-19 om 15:50 schreef Martok via lazarus: I tried: $(LazarusDir)\fpc\$(FPCVer) (this is what intuitively makes sense) $(LazarusDir)\fpc\ (this is what the text asks for) $(LazarusDir)\fpc\$(FPCVer)\bin You cannot use Lazarus-style macro's. It does not resolve

Re: [Lazarus] Fppkg error on IDE start with FPC 3.2 fixes

2019-03-02 Thread Joost van der Sluis via lazarus
Op 21-02-19 om 14:39 schreef Martok via lazarus: Am 21.02.2019 um 13:14 schrieb Sven Barth via lazarus: The RTL package is not part of the packages directory, but is parallel to that. Nevertheless it contains an fpmake.pp declaring it as a package. It also doesn't create a fpmkinst file, is

Re: [Lazarus] lazbuild question

2019-02-01 Thread Joost van der Sluis via lazarus
Op Vrijdag 1 februari 2019 schreef Ryan Joseph via lazarus: > > > > On Feb 1, 2019, at 11:05 AM, Mattias Gaertner via lazarus > > wrote: > > > > Note that some IDE addons alter the build process, e.g. adding macros. > > lazbuild cannot support that. > > > > Can you give some more details? >

Re: [Lazarus] Can't start lazarus trunk

2019-01-14 Thread Joost van der Sluis via lazarus
Op 09-01-19 om 18:27 schreef Martok via lazarus: Lazbuild doesn't even have theoretical facilities to be a fppkg frontend (that is, install the ide package), so that makes no sense at all. It's completely unneeded for building - fpc finds its own fpc.cfg, therefore it would find the units to

Re: [Lazarus] Trying FPDebug

2019-01-09 Thread Joost van der Sluis via lazarus
Op 09-01-19 om 09:40 schreef Dennis via lazarus: Joost van der Sluis via lazarus wrote: Op 22-11-18 om 11:00 schreef Santiago A. via lazarus: I would like to fiddle a little with FPdebug, but I'm a little confused. I have lazarus 1.8.4 on window 7 32 bits I have installed the next

Re: [Lazarus] Can't start lazarus trunk

2019-01-06 Thread Joost van der Sluis via lazarus
Op 06-01-19 om 17:29 schreef Martok via lazarus: Am 03.01.2019 um 22:27 schrieb Joost van der Sluis via lazarus: I actually don't know how to create the configuration files on Windows. So, I checked the source, and it seems you actually do ;-) Oh, I do know how to do it in code... (b.t.w

Re: [Lazarus] Can't start lazarus trunk

2019-01-03 Thread Joost van der Sluis via lazarus
Op 03-01-19 om 21:17 schreef Martok via lazarus: Am 03.01.2019 um 11:00 schrieb Joost van der Sluis via lazarus: I build clean Lazarus (not even bigide) + FPC from trunk using fpclazup, start it, and now receive a warning that wasn't there on last week's build. What steps do I need to take

Re: [Lazarus] Can't start lazarus trunk

2019-01-03 Thread Joost van der Sluis via lazarus
Op 03-01-19 om 14:35 schreef Mattias Gaertner via lazarus: On Thu, 3 Jan 2019 14:03:15 +0100 Joost van der Sluis via lazarus wrote: There was no project yet that didn't need the fpc sources. With pas2js this has changed. So this needs an ignore button now. Are there any plans to make fppkg

Re: [Lazarus] Can't start lazarus trunk

2019-01-03 Thread Joost van der Sluis via lazarus
Op 03-01-19 om 11:37 schreef Mattias Gaertner via lazarus: On Thu, 3 Jan 2019 11:00:47 +0100 Joost van der Sluis via lazarus wrote: [...] This may be a stupid question, but why do I now have to click through a message "An error occured during the initialization of Fppkg: Could not find

Re: [Lazarus] Can't start lazarus trunk

2019-01-03 Thread Joost van der Sluis via lazarus
Op 03-01-19 om 03:23 schreef Martok via lazarus: Am 03.01.2019 um 00:31 schrieb Joost van der Sluis via lazarus: Should be fixed. In FPC (added the check if the compiler exists) and in Lazarus (do not choke on it when an exception occurs) This may be a stupid question, but why do I now have

Re: [Lazarus] Can't start lazarus trunk

2019-01-02 Thread Joost van der Sluis via lazarus
Op 02-01-19 om 16:46 schreef C Western via lazarus: To start the current lazarus trunk, I had to delete ~/.fppkg, as otherwise lazarus crashed after trying to execute a compiler that didn't exist. Traceback is: [FORMS.PP] ExceptionOccurred   Sender=EProcess   Exception=Executable not found:

Re: [Lazarus] Exception=Unable to create file "/etc/fppkg/default"

2018-12-30 Thread Joost van der Sluis via lazarus
Op 30-12-18 om 17:19 schreef Joost van der Sluis via lazarus: Lazarus(SVN) at startup tries to write at /etc/fppkg/ where it has no rights. The same file exists /home/$USERNAME/.fppkg/ That ain't good. Has been fixed in fpc r40711. Regards, Joost

Re: [Lazarus] Exception=Unable to create file "/etc/fppkg/default"

2018-12-30 Thread Joost van der Sluis via lazarus
Op 30-12-18 om 18:17 schreef Vojtěch Čihák via lazarus: What config file? My /etc/fppkg.cfg is: [Defaults] ConfigVersion=4 LocalRepository={UserDir}.fppkg/ BuildDir={LocalRepository}build/ ArchivesDir={LocalRepository}archives/ CompilerConfigDir=/etc/fppkg

Re: [Lazarus] Exception=Unable to create file "/etc/fppkg/default"

2018-12-30 Thread Joost van der Sluis via lazarus
Op 30-12-18 om 15:16 schreef Bart via lazarus: On Sun, Dec 30, 2018 at 2:42 PM Vojtěch Čihák via lazarus wrote: Lazarus(SVN) at startup tries to write at /etc/fppkg/ where it has no rights. The same file exists /home/$USERNAME/.fppkg/ That ain't good. There are more issues with r59933:

Re: [Lazarus] Crowdfunding to speed up the development of pas2js in Lazarus Widgetset and fpDebug to FPC

2018-12-29 Thread Joost van der Sluis via lazarus
Op 29-12-18 om 17:23 schreef Michael Van Canneyt via lazarus: On Sat, 29 Dec 2018, wkitty42--- via lazarus wrote: This looks interesting. At least they don't seem to take an extra percentage off the donated amounts, you pay only the transaction costs. "you" who? the payer or the payee? A

Re: [Lazarus] Crowdfunding to speed up the development of pas2js in Lazarus Widgetset and fpDebug to FPC

2018-12-29 Thread Joost van der Sluis via lazarus
Op 27-12-18 om 13:20 schreef Graeme Geldenhuys via lazarus: On 21/12/2018 23:59, Dmitry Boyarintsev via lazarus wrote: It's 4 USD a month! https://www.patreon.com/skalogryz Patreon is amazing and so simple to use (from a supporter point of view). I've supported many diverse projects on there

Re: [Lazarus] Trying FPDebug

2018-11-22 Thread Joost van der Sluis via lazarus
Op 22-11-18 om 11:00 schreef Santiago A. via lazarus: I would like to fiddle a little with FPdebug, but I'm a little confused. I have lazarus 1.8.4 on window 7 32 bits I have installed the next packages FpDebug 0.0 lazdebuggerfp - Once you have installed lazdebuggerfp you have to go to

Re: [Lazarus] what can we do to get a better debugger

2018-11-21 Thread Joost van der Sluis via lazarus
Op 21-11-18 om 13:42 schreef Martin Frb via lazarus: On 21/11/2018 13:08, Joost van der Sluis via lazarus wrote: Op 20-11-18 om 12:19 schreef Martin Frb via lazarus: That work is already in process (though very slowly / work has started/stopped plenty of times over the past many years

Re: [Lazarus] what can we do to get a better debugger

2018-11-21 Thread Joost van der Sluis via lazarus
Op 21-11-18 om 11:30 schreef Graeme Geldenhuys via lazarus: On 2018-11-20 10:37 a.m., Dennis via lazarus wrote: Indeed, the debugger is the weakest part of FPC/Lazarus development tools. I don't agree. The lack of a good (online) package-system is the weakest part. (debugging might be the

Re: [Lazarus] what can we do to get a better debugger

2018-11-21 Thread Joost van der Sluis via lazarus
Op 20-11-18 om 12:19 schreef Martin Frb via lazarus: On 20/11/2018 11:37, Dennis via lazarus wrote: FPC and Lazarus are great but the GDB is inadequate. Many times in my development, GDB failed or crashed, especially when I am debugging multi thread programs. Shall we start a fund raising

Re: [Lazarus] How to debug DB errors.

2018-05-30 Thread Joost van der Sluis via Lazarus
Op 30-05-18 om 18:44 schreef Donald Ziesig via Lazarus: I found the fpmake.pp file in /usr/share/fpcsrc/3.0.4/packages/fcl-db. Using sudo -i, I ran: fppkg install -o -gl It responded "Error code 301", then "Compile successful". I ran it again: hp-laptop fcl-db # fppkg install -o -gl

Re: [Lazarus] How to debug DB errors.

2018-05-30 Thread Joost van der Sluis via Lazarus
Op 30-05-18 om 16:24 schreef Donald Ziesig via Lazarus: I have been developing database apps for years and I have finally reached my limit.  Occasionally I get exceptions in the db code but the Call Stack is truncated as is shown below.  I usually just "bite the bullet" and single step through

Re: [Lazarus] fpc installation error

2018-05-21 Thread Joost van der Sluis via Lazarus
Op 21-05-18 om 17:48 schreef Barbara M. Harris-Pruitt via Lazarus: I had the same problem when I tried to install Lazarus on Ubuntu Mate 18.04.  I ended up installing it using the Synaptic Package Manager because I would get the same error that you got when I tried to install it from either

Re: [Lazarus] Lazarus-ccr Access

2018-05-18 Thread Joost van der Sluis via Lazarus
On 05/17/2018 07:00 PM, John Landmesser via Lazarus wrote: Am 17.05.2018 um 17:40 schrieb Joost van der Sluis via Lazarus: just discovered "online package manager" it gets the packages from http://packages.lazarus-ide.org This online package manager is a great tool and this loca

Re: [Lazarus] Lazarus-ccr Access

2018-05-17 Thread Joost van der Sluis via Lazarus
Op 17-05-18 om 13:20 schreef John Landmesser via Lazarus TStringGrid sorts everything as string! To improve that i developed TSortGrid, derived from TStringGrid, but capable of sorting Integer, Float, Date, Time, String and show up- and down- Arrows in Titlebar. See

Re: [Lazarus] How to use two different versions of FPC

2018-05-11 Thread Joost van der Sluis via Lazarus
On 05/11/2018 03:26 PM, Mattias Gaertner via Lazarus wrote: Attached snapshot is work in progress Sorry, but I don't think this is an improvement. For new users this looks like a nightmare. It should be hidden, at least, imho. Or better: make it a plugin. This is a plugin. In that case:

Re: [Lazarus] How to use two different versions of FPC

2018-05-11 Thread Joost van der Sluis via Lazarus
On 05/10/2018 04:35 PM, patspiper via Lazarus wrote: Attached snapshot is work in progress Sorry, but I don't think this is an improvement. For new users this looks like a nightmare. It should be hidden, at least, imho. Or better: make it a plugin. Regards, Joost. --

Re: [Lazarus] How to use two different versions of FPC

2018-05-09 Thread Joost van der Sluis via Lazarus
Op 08-05-18 om 13:46 schreef Giuliano Colla via Lazarus: E.G. you may have a full tree (fpc+Lazarus) in ~/development/ another one in ~/production and a third one in ~/experiments. The main trick, as far as fpc is concerned, is to have as fpc executable an fpc.sh (a name which is accepted by

Re: [Lazarus] Is this a bug?

2017-06-18 Thread Joost van der Sluis via Lazarus
Op 16-06-17 om 22:58 schreef Wolf via Lazarus: now I understand the real bug is in my assumptions on what goes on behind the screens. But that leads to another question: is there any documentation where I can read up on this so that I may improve on my programming, and particular debugging,

Re: [Lazarus] Is this a bug?

2017-06-16 Thread Joost van der Sluis via Lazarus
On 06/16/2017 11:43 AM, Wolf via Lazarus wrote: If I understand you correctly, because 2. since ParamStr() is handled by the system unit, a call to halt will result in a memory leak because Heaptrc is not aware of this allocation. Only the initialization of the system-unit is done before the

Re: [Lazarus] Codetools in distress

2017-06-14 Thread Joost van der Sluis via Lazarus
Op 14-06-17 om 10:29 schreef Mattias Gaertner via Lazarus: On Wed, 14 Jun 2017 10:22:48 +0200 Joost van der Sluis via Lazarus <lazarus@lists.lazarus-ide.org> wrote: [...] Fixed, not in Lazarus, but fpc. Why is it, that when I (working mostly on fpc) discover Lazarus-bugs, they almost

Re: [Lazarus] Codetools in distress

2017-06-14 Thread Joost van der Sluis via Lazarus
Op 14-06-17 om 10:09 schreef Mattias Gaertner via Lazarus: On Tue, 13 Jun 2017 23:05:03 +0200 But when showed in Lazarus, {$MODE objfpc} is grayed out. So Lazarus does not detect that FPC is defined... In the defines-editor, I do see the FPC-define, but I don't see any value. Is that normal?

Re: [Lazarus] Codetools in distress

2017-06-13 Thread Joost van der Sluis via Lazarus
Op 13-06-17 om 19:08 schreef Joost van der Sluis via Lazarus: On 06/13/2017 04:07 PM, Ondrej Pokorny via Lazarus wrote: ### TCodeToolManager.HandleException: [20170421195425] "expected :, but AResult found" at Line=111 Col=43 in "/home/CNOC/joost/svn/fpc-trunk/packages/rtl

Re: [Lazarus] Codetools in distress

2017-06-13 Thread Joost van der Sluis via Lazarus
On 06/13/2017 04:07 PM, Ondrej Pokorny via Lazarus wrote: On 13.06.2017 16:03, Joost van der Sluis via Lazarus wrote: Now when I add Variants to the uses, nothing works anymore. (Try identifier-completion in VarIsError -> move cursor to VarIs -> ctrl-space) Same happens when you add c

Re: [Lazarus] Codetools in distress

2017-06-13 Thread Joost van der Sluis via Lazarus
On 06/13/2017 03:40 PM, Ondrej Pokorny via Lazarus wrote: On 13.06.2017 15:21, Joost van der Sluis via Lazarus wrote: Am I the only one who has problems with the codetools? Seems like it can not handle out-parameters in functions anymore. What CT function is not working in particular? I

[Lazarus] Codetools in distress

2017-06-13 Thread Joost van der Sluis via Lazarus
Hi all, Am I the only one who has problems with the codetools? Seems like it can not handle out-parameters in functions anymore. like this: (variants.pp) function VarIsError(const V: Variant; out AResult: HRESULT): Boolean; But there are many others in the RTL and FCL. Or is it a local