Skip to content
Snippets Groups Projects
  1. Nov 29, 1999
    • Keith Wansbrough's avatar
      [project @ 1999-11-29 14:52:24 by keithw] · 0f2ca589
      Keith Wansbrough authored
      error.h -> stgerror.h
      0f2ca589
    • Julian Seward's avatar
      [project @ 1999-11-29 13:21:32 by sewardj] · 2e7b6126
      Julian Seward authored
      error.h --> stgerror.h
      2e7b6126
    • Keith Wansbrough's avatar
      [project @ 1999-11-29 12:02:42 by keithw] · 0ee48772
      Keith Wansbrough authored
      This commit adds the new RTS option `-xc', which prints the current
      cost-centre stack to stderr whenever an exception is raised.  This is
      intended to be a debugging tool, to help trace those "Prelude.head:
      empty list" errors that are so frustrating to find.
      
      `-xc' is only available for programs compiled with -prof, and you
      probably want -auto as well to get useful information.
      
      This is currently experimental; it would be better if it only
      displayed the info for *uncaught* exceptions, but this is harder to
      implement.
      
      This commit also makes an OFTEL-inspired extension to the RTS option
      space.  Since we've almost run out of options, `-x' is now reserved
      for `extended' options.  `-xc' is the first of these, but that leaves
      '-x[0-9A-Zabd-wyz]' still to be used!  The prefix `-xx' is reserved
      for future extension.
      0ee48772
  2. Nov 26, 1999
  3. Nov 25, 1999
  4. Nov 24, 1999
  5. Nov 23, 1999
Loading