marcocantu / objectdebugger Goto Github PK
View Code? Open in Web Editor NEWThe ObjectDebugger is a run-time Object Inspector for Delphi VCL applications
The ObjectDebugger is a run-time Object Inspector for Delphi VCL applications
Do you already have a version for Delphi 11 Alexandria?
above
var
CantObjectDebugger:TCantObjectDebugger;
I made a very simple project with one line ONCREATE
CantObjectDebugger:=TCantObjectDebugger.Create(Form1);
CantObjectDebugger.active:=true;
I get with D10.2.3 access violation.
I close the error and see the object. As a matter of fact, it is shown before the error than the error.
I could not pinpoint the bug although the object inspector is shown.
I got so far as UpdateCompsCombo end and no error.
The timer is OK too.
Could not find nil somewhere.
end of FormShow(Sender: TObject); no error.
I load the group, but Delphi freezes, and I have to kill the process. Do you know why it can happen?
have you please any easy manual or howto?
Thanks
Ales
in TCantObjDebForm.sgPropSelectCell
"EditNum.Text :=" and "EditStr.Text :=" (TEdits) has to be backed up with disabling the onchange event as it will set EditModified to true
and it allways will write back on onexit. But under fast scrolling the component could be already changed and it will try to write back into the wrong place. Mostly causing an AV.
under "tkInteger:"
EditNum.OnChange := nil;
try
EditNum.Text := GetPropValAsString(CurrComp, ppInfo);
PlaceControl(EditNum);
finally
EditNum.OnChange := EditChange;
end;
and under "tkString, tkLString, tkUString, tkWString:"
EditStr.OnChange := nil;
try
EditStr.Text := GetPropValAsString(CurrComp, ppInfo);
PlaceControl(EditStr);
finally
EditStr.OnChange := EditChange;
end;
(The other edit controls are fine for now, but it would be even better to introduce an "FInternalUpdating" variable and check against in the OnChange events before setting "EditModified" to true.)
Also "EditModified := False;" is not set everywhere, so it shuld be pesent only one time, right after the case block at the end of "sgPropSelectCell".
I think I have already reported this back in the G+ era.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.