Object Inspector Goofiness... [resolved] lazarus / 9-Editor ---------------------------------------------------------------------- Ozz_Nixon · 2018-10-15 23:39 For some reason it is not showing a list of components, and when I scrolled, I get this (screenshot attached) ... not locked up though, can still code. Any ideas why? Ozz ---------------------------------------------------------------------- howardpc · 2018-10-16 07:38 In the IDE Options dialog, Object Inspector page, is "Show component tree" checked? Does changing the value of "Item height (0 = auto)" make any difference? ---------------------------------------------------------------------- Ozz_Nixon · 2018-10-16 19:05 Actually have tracked it down to a specific project. Added:       ButtonPanel1: TButtonPanel;       DataSource1: TDataSource;       DataSource2: TDataSource;       DBEdit1: TDBEdit;       DBEdit2: TDBEdit;       DBGrid1: TDBGrid;       DBNavigator1: TDBNavigator;       Label1: TLabel;       Label2: TLabel;       MainPanel: TPanel;       MemDataset1: TMemDataset;       Panel1: TPanel;       SQLite3Connection1: TSQLite3Connection;       SQLQuery1: TSQLQuery;       SQLTransaction1: TSQLTransaction; Linked those up to a SQLite3 DB (I have 3 forms that are COPY-N-PASTE clones of the above)... when I run the App, click on the DB Navigator, or a different row on the grid - things appeared frozen, then I get a Stack Overflow error... run in DEBUG mode (windows64) I get Project raised exception class 'External: SIGSEGV'. At address 100223C16. ---------------------------------------------------------------------- JuhaManninen · 2018-10-16 21:02 Quote from: ozznixon on October 16, 2018, 09:05:33 pmI get Project raised exception class 'External: SIGSEGV'. At address 100223C16. The address is not very useful. Please provide a proper debugger backtrace. If you can make a minimal demo project to reproduce the error, it would be helpful, too. Can you reproduce it without the external DB? ---------------------------------------------------------------------- Ozz_Nixon · 2018-10-16 22:06 Everytime I build a SQLite DB (DBEdit, DBNav, DBGrid) - open, see everything in grid and try to go to the next row in DBNav or the GRID - I get the same error, see attachment for DEBUG CPU dump... ---------------------------------------------------------------------- JuhaManninen · 2018-10-16 22:27 Quote from: ozznixon on October 17, 2018, 12:06:25 am... see attachment for DEBUG CPU dump... No, that is an assembler window. It is quite useless now. ---------------------------------------------------------------------- Ozz_Nixon · 2018-10-17 19:43 Useless now how? I have the VM suspended incase someone says look for, or show me... I can reproduce over and over without problem - except, I am using a lot of different 3rd party components. I am going to try today making a 100% lazarus project to see if it still has a problem with how the dataevents work/fire. ---------------------------------------------------------------------- Ozz_Nixon · 2018-10-17 19:58 FINALLY FOUND... TSQLQuery has a DataSource and a Database property - I was setting both. Component should have a OR - so it does not send the DataEvent in a loop. ---------------------------------------------------------------------- Thaddy · 2018-10-17 19:58 Ozz can you throw us a list of the third party thingies that you are using? I have time on hand...and quite curious. Or more code? [edit] posts crossed.. [edit 2] Same goes for Delphi: you can get cross references endlessly... ---------------------------------------------------------------------- Ozz_Nixon · 2018-10-17 20:00 Quote from: Thaddy on October 17, 2018, 09:58:35 pmOzz can you throw us a list of the third party thingies that you are using? I have time on hand...and quite curious. Or more code? [edit] posts crossed.. As always thanks Thaddy! It was me no knowing how many properties to link to the other DB VCL components ... do you know if there is a better DBNav (more buttons, like SEARCH, EXECUTE, etc as buttons)? I used to use one that had a QBE Button, when clicked changed to FIND... in Delphi. ---------------------------------------------------------------------- JuhaManninen · 2018-10-17 21:10 Quote from: ozznixon on October 17, 2018, 09:43:48 pmUseless now how? I have the VM suspended incase someone says look for, or show me... It tells very little about the original Pascal source. How is anyone supposed to find a problem in huge Pascal code based on CPU's assembly instructions? The usefull window is Call Stack. You get the same info from standalone GDB by typing "bt" after a breakpoint or exception. I am curious, did you really use the Assembler window for your own debugging? ---------------------------------------------------------------------- Ozz_Nixon · 2018-10-17 22:39 Quote from: JuhaManninen on October 17, 2018, 11:10:47 pmI am curious, did you really use the Assembler window for your own debugging? Yes. But you have to understand, (the Modern Pascal compiler I promote in my tag line below is 100% assembly)... One reason my Apache Script engine out performs PHP 7. ;-) ... coming back to an IDE is a challenge, I am used to tracing ASM all day. ---------------------------------------------------------------------- JuhaManninen · 2018-10-18 08:36 Quote from: ozznixon on October 18, 2018, 12:39:00 amYes. But you have to understand, (the Modern Pascal compiler I promote in my tag line below is 100% assembly)... One reason my Apache Script engine out performs PHP 7. ;-) ... coming back to an IDE is a challenge, I am used to tracing ASM all day. Wow, quite extreme nowadays to use pure assembly. Cool! ---------------------------------------------------------------------- JuhaManninen · 2018-10-18 12:18 Quote from: ozznixon on October 17, 2018, 09:58:15 pmTSQLQuery has a DataSource and a Database property - I was setting both. Component should have a OR - so it does not send the DataEvent in a loop. I think TSQLQuery should be improved to prevent setting them both. I am not planning to do it myself as I don't work with DB components but a patch would be applied.