Browse Source

* quick hack for stack trace in the case of an unhandled exception

florian 25 years ago
parent
commit
c815eeb430
1 changed files with 5 additions and 2 deletions
  1. 5 2
      rtl/objpas/sysutils.pp

+ 5 - 2
rtl/objpas/sysutils.pp

@@ -201,7 +201,7 @@ begin
   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,'');
   Writeln(stdout,'');
-  Halt(217);
+  Runerror(217);
 end;
 end;
 
 
 
 
@@ -296,7 +296,10 @@ Finalization
 end.
 end.
 {
 {
     $Log$
     $Log$
-    Revision 1.41  2000-02-09 16:59:33  peter
+    Revision 1.42  2000-02-10 22:56:43  florian
+      * quick hack for stack trace in the case of an unhandled exception
+
+    Revision 1.41  2000/02/09 16:59:33  peter
       * truncated log
       * truncated log
 
 
     Revision 1.40  2000/01/16 19:10:25  hajny
     Revision 1.40  2000/01/16 19:10:25  hajny