How to recover from an error in a macro file ?

From: Patois Yannick (patois@ganil.fr)
Date: Wed Nov 10 1999 - 15:13:58 MET


Hello rooters,

When runing a .C file with errors inside, it appends quite often that
the execution fails.

like :

root [200] .L orion_tree.C

Where "orion_tree.C" contain some buggy implementation (invalid pointers
or whatever) of the orion_tree class, that I try anyway to execute :

root [200]  my_nt = new orion_tree(134);  my_nt->Loop(0,1,1,1)

 *** Break *** segmentation violation


Then, it seems that I cant do much :

root [201] .L orion_tree.C
 
 *** Break *** segmentation violation
Root > .reset
*** .reset not allowed, please use gROOT->Reset() ***
root [202]  gROOT->Reset()
Limitation: Can not define body of function in tempfile
FILE:/var/tmp/lhaFabOJD_cint LINE:1
*** Interpreter error recovered ***

Is the CINT engine broken ? How can I know it for sure ? Is there a way
to recover from this kind of errors without having to quit/restart root? 
Can I at least in some case save some of the spectra I have already made
before quitting (the TBrowser still works and some ROOT commands too) ?

Thanx for any information.

	Yannick


 _/ Yannick Patois _________________ Address (home) __________________
| irc(undernet): Garp on #france25+ | La Villa des Sciences            |
| email : patois@ganil.fr           | 12, avenue de Cambridge          |
| web :http://www.sura.org/~patois/ | 14200 Herouville-Saint-Clair     |
| Tel/Fax-home:+33 (0)2 31 94 50 32 | FRANCE                           |
|___________________________________|__________________________________|



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:42 MET