Prof Brian Ripley <[EMAIL PROTECTED]> writes:

> If you look in ?debugger, especially right at the end, you will see how to
> attempt a post-mortem dump of the frams to a file.  If that gets run (and
> this might be a fatal error from C level, but it is not reporting so), you
> can reload the dump and use debugger on it.
> 
> On Fri, 3 Sep 2004, Vadim Ogranovich wrote:
[snip]
> > # Here I run it non-interactively from the shell. Note that the last
> > line, cat("after\n"), doesn't get executed. (it does get executed in the
> > interactive mode or with --no-init-file)
> > ~% R --no-save --no-restore --silent < debug.R

Also, with an invocation like that, you can run under the debugger as
follows: 

  $ R -d gdb
  (gdb) run --no-save --no-restore --silent < debug.R

and maybe set a breakpoint in the error handler, or just let it run to
completion and see if it segfaults or something.

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - ([EMAIL PROTECTED])             FAX: (+45) 35327907

______________________________________________
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to