mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 06:06:17 +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
|
end
|
||||||
else
|
else
|
||||||
Writeln(stdout,'Exception object ',Obj.ClassName,' is not of class Exception.');
|
Writeln(stdout,'Exception object ',Obj.ClassName,' is not of class Exception.');
|
||||||
|
Writeln(stdout,BackTraceStrFunc(Addr));
|
||||||
if (FrameCount>0) then
|
if (FrameCount>0) then
|
||||||
begin
|
begin
|
||||||
Writeln(stdout,BackTraceStrFunc(Addr));
|
|
||||||
for i:=0 to FrameCount-1 do
|
for i:=0 to FrameCount-1 do
|
||||||
Writeln(stdout,BackTraceStrFunc(Frames[i]));
|
Writeln(stdout,BackTraceStrFunc(Frames[i]));
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user