mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 01:09:31 +02:00
* 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:
parent
9ad60a821f
commit
6bbf8f4e22
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user