Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Debugging

  • To: mathgroup at
  • Subject: [mg56879] Re: Debugging
  • From: David Bailey <dave at>
  • Date: Mon, 9 May 2005 01:46:00 -0400 (EDT)
  • References: <d5huos$k0h$>
  • Sender: owner-wri-mathgroup at

Hermann Schmitt wrote:
> Hello,
> In earlier emails I explained, that the program is finished at the statement
> in error, if the following assignmet is included in the program:
>  $MessagePrePrint = (Print["Error -> Quit"]; Quit[])&;
> My question is:
> Can it be achieved, that the error message is printed, before the program
> finishes?
> Hermann Schmitt
I did manage this in my debugger, M-Debug, but that was in a program 
executing under TraceScan.

David Bailey

  • Prev by Date: Re: Calling a MS-DOS command
  • Next by Date: Re: Calling a MS-DOS command
  • Previous by thread: Debugging
  • Next by thread: GUIkit problem