We use the IWJclDebug, and IWJclStackTrace, units, and these return the stacktrace that I included. They are always pretty accurate.
I need to add that we've modified some of the IntraWeb source code files, as mentioned in https://www.atozed.com/forums/thread-302...10379.html
I've made changes to IWControls.pas and IWForms.pas
The biggest change is inside procedure TIWCustomControl.Dispose(ADispose: Boolean); where I've chanhed the 2 lines
into
I need to add that we've modified some of the IntraWeb source code files, as mentioned in https://www.atozed.com/forums/thread-302...10379.html
I've made changes to IWControls.pas and IWForms.pas
The biggest change is inside procedure TIWCustomControl.Dispose(ADispose: Boolean); where I've chanhed the 2 lines
Code:
if not IsDesignMode then begin
UnRegisterAsyncEvents;Code:
if not IsDesignMode then
try
if (OwnerForm <> nil) and
(OwnerForm is TIWForm) and
Assigned((OwnerForm as TIWForm).PageContext) and
not (OwnerForm as TIWForm).PageContext.Destroying then
try
UnRegisterAsyncEvents
except
on E: Exception do
CodeSite(S_OOP).LogException('procedure TIWCustomControl.Dispose - UnRegisterAsyncEvents', E);
end;
except
on E: Exception do
CodeSite(S_OOP).LogException('procedure TIWCustomControl.Dispose - OwnerForm/PageContext', E);
end;
