I have three reports in my delphi application and another dozen or so forms that are nothing to do with fast reports.
The reports work fine.
However, if I single step through code in an unrelated form that simply updates a recordset in my database, when I reach the end of the update procedure the debug jumps into FastReport's frxClass unit at the line indicated below. If I carry on single stepping in the hope of getting back the code I want to trace it gets to the else line and then hangs the application.
Why does it keep trying to run your code and how can I stop it so that I can get back to the code I want to debug?
(in case its any help one of the reports does use the table I have just updated)
Howard
begin
sl := TStringList.Create;
sl.Sorted := True;
begin
sl := TStringList.Create;
sl.Sorted := True; <------------------------ jumps to here
sl.Duplicates := dupAccept;
for i := 0 to FObjects.Count - 1 do
begin
c := FObjects[i];
if c is TfrxView then
if c.Left >= 0 then
sl.AddObject('1' + Format('%9.2f', [c.Left]), c)
else <------------------------ hangs here
sl.AddObject('0' + Format('%9.2f', [-c.Left]), c);
end;