Re: [Lazarus] CFI in FpDebug

2022-06-29 Thread Pascal Riekenberg via lazarus
Ok, thanks for the hint! Pascal > Joost van der Sluis via lazarus hat am > 29.06.2022 12:11 CEST geschrieben: > > > 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 > prope

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 w

Re: [Lazarus] CFI in FpDebug

2022-06-29 Thread Pascal Riekenberg via lazarus
I use fpc trunk (3.3.1) Pascal > Joost van der Sluis via lazarus hat am > 29.06.2022 10:23 CEST geschrieben: > > > 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 ++- > >

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

Re: [Lazarus] CFI in FpDebug

2022-06-29 Thread Pascal Riekenberg via lazarus
Hi Joost, i did this to temporary solve it for me: components/fpdebug/fpdbgdwarfdataclasses.pas | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/fpdebug/fpdbgdwarfdataclasses.pas b/components/fpdebug/fpdbgdwarfdataclasses.pas index 67c715b762..e62726658b 100644 -

[Lazarus] Differentiate between insert and append in TDataset events

2022-06-29 Thread Luca Olivetti via lazarus
Hello, using a TDbGrid, I want to take different actions if the user is inserting or appending a record (in this case to automatically assign the ordering field so that the record appears in the right row after post). The method TDataSet.DoInsertAppend just differentiates them internally, th

Re: [Lazarus] CFI in FpDebug

2022-06-29 Thread Pascal Riekenberg via lazarus
Hi Joost, i think i have a problem with this. When starting to debug with FpDebug on Windows 10 64bit i get the following error: TApplication.HandleException: EListError Duplicate ID: Stack trace: $0001001EA1CF Error, line 383 of maps.pp $0001001E9DF8 InternalAdd