Browse Source

* do a stack trace in case of abording with an heap error when EXTRA is defined

git-svn-id: trunk@6358 -
florian 18 years ago
parent
commit
8ed35dd5fb
1 changed files with 1 additions and 0 deletions
  1. 1 0
      rtl/inc/heaptrc.pp

+ 1 - 0
rtl/inc/heaptrc.pp

@@ -942,6 +942,7 @@ begin
       end;
       end;
    end;
    end;
   writeln(ptext^,'pointer $',hexstr(ptrint(p),2*sizeof(pointer)),' does not point to valid memory block');
   writeln(ptext^,'pointer $',hexstr(ptrint(p),2*sizeof(pointer)),' does not point to valid memory block');
+  dump_error(p,ptext^);
   runerror(204);
   runerror(204);
 _exit:
 _exit:
 end;
 end;