Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.forth > #19435

Re: Forced exit from an infinite loop? (Win32Forth / eForth)

From "Ed" <invalid@nospam.com>
Newsgroups comp.lang.forth
Subject Re: Forced exit from an infinite loop? (Win32Forth / eForth)
Date 2013-02-05 10:44 +1100
Organization Aioe.org NNTP Server
Message-ID <keph5k$6dq$1@speranza.aioe.org> (permalink)
References <08b7f96d-f522-4b7b-87e9-109c92e06597@googlegroups.com>

Show all headers | View raw


AKE wrote:
> Hi
>
> Apologise for this basic question.
>
> Is there a way to force a Forth that is stuck in an infinite loop to abort and return to
> taking commands at the console?
>
> Haven't been able to find a way for Win32Forth or eForth -- other than, of course, killing
> the process and starting it again.

If you're debugging I see no problem.  Getting into an infinite loop
is an error on your part and getting out of it is your punishment!
As Elizabeth said there's a likelihood that whatever caused your
infinite loop has trashed something important.  The safest way
to recover is to reboot forth (and sometimes the entire system).
That said, infinite loop errors don't occur frequently and you know
when they happen.  The errors I worry about are the one's which
return "ok" :)






Back to comp.lang.forth | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Forced exit from an infinite loop?  (Win32Forth / eForth) AKE <assadebrahim2000@gmail.com> - 2013-02-04 04:36 -0800
  Re: Forced exit from an infinite loop?  (Win32Forth / eForth) albert@spenarnc.xs4all.nl (Albert van der Horst) - 2013-02-04 14:17 +0000
    Re: Forced exit from an infinite loop?  (Win32Forth / eForth) anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2013-02-04 16:11 +0000
    Re: Forced exit from an infinite loop?  (Win32Forth / eForth) Andy Valencia <user@vsta.org> - 2013-02-04 17:06 +0000
      Re: Forced exit from an infinite loop?  (Win32Forth / eForth) Bernd Paysan <bernd.paysan@gmx.de> - 2013-02-04 19:53 +0100
      Re: Forced exit from an infinite loop?  (Win32Forth / eForth) Andy Valencia <user@vsta.org> - 2013-02-05 01:00 +0000
      Re: Forced exit from an infinite loop?  (Win32Forth / eForth) anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2013-02-05 15:26 +0000
  Re: Forced exit from an infinite loop? (Win32Forth / eForth) Mark Wills <forthfreak@gmail.com> - 2013-02-04 07:32 -0800
    Re: Forced exit from an infinite loop? (Win32Forth / eForth) Coos Haak <chforth@hccnet.nl> - 2013-02-04 21:05 +0100
      Re: Forced exit from an infinite loop? (Win32Forth / eForth) Alex McDonald <blog@rivadpm.com> - 2013-02-04 12:32 -0800
      Re: Forced exit from an infinite loop? (Win32Forth / eForth) "Elizabeth D. Rather" <erather@forth.com> - 2013-02-04 11:24 -1000
        Re: Forced exit from an infinite loop? (Win32Forth / eForth) albert@spenarnc.xs4all.nl (Albert van der Horst) - 2013-02-05 18:01 +0000
  Re: Forced exit from an infinite loop?  (Win32Forth / eForth) "Ed" <invalid@nospam.com> - 2013-02-05 10:44 +1100
    Re: Forced exit from an infinite loop? (Win32Forth / eForth) Mark Wills <forthfreak@gmail.com> - 2013-02-04 23:09 -0800
    Re: Forced exit from an infinite loop?  (Win32Forth / eForth) AKE <assadebrahim2000@gmail.com> - 2013-02-05 05:06 -0800

csiph-web