* always write backtracestr for exception address to print also backtrace info for

exceptions generated from the main body

git-svn-id: trunk@2265 -
This commit is contained in:
peter 2006-01-12 08:46:36 +00:00
parent 9ad60a821f
commit 6bbf8f4e22

View File

@ -206,9 +206,9 @@ begin
end
else
Writeln(stdout,'Exception object ',Obj.ClassName,' is not of class Exception.');
Writeln(stdout,BackTraceStrFunc(Addr));
if (FrameCount>0) then
begin
Writeln(stdout,BackTraceStrFunc(Addr));
for i:=0 to FrameCount-1 do
Writeln(stdout,BackTraceStrFunc(Frames[i]));
end;