mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-23 20:29:33 +02:00
* limit backtraces to values inside the stack, patch by Vincent Snijders
git-svn-id: trunk@162 -
This commit is contained in:
parent
d6fcfb0a1e
commit
87fe5d9b98
@ -152,7 +152,8 @@ begin
|
||||
frames:=nil;
|
||||
framebufsize:=0;
|
||||
framecount:=0;
|
||||
while (framecount<RaiseMaxFrameCount) and (curr_frame > prev_frame) Do
|
||||
while (framecount<RaiseMaxFrameCount) and (curr_frame > prev_frame) and
|
||||
(curr_frame<(StackBottom + StackLength)) do
|
||||
Begin
|
||||
caller_addr := get_caller_addr(curr_frame);
|
||||
caller_frame := get_caller_frame(curr_frame);
|
||||
|
Loading…
Reference in New Issue
Block a user