Re: Debugging
- To: mathgroup at smc.vnet.net
- Subject: [mg56879] Re: Debugging
- From: David Bailey <dave at Remove_Thisdbailey.co.uk>
- Date: Mon, 9 May 2005 01:46:00 -0400 (EDT)
- References: <d5huos$k0h$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
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 http://www.dbaileyconsultancy.co.uk