Branch: Tag:

2018-11-15

2018-11-15 17:14:09 by William Welliver <william@welliver.org>

debugger: abort if attempting to debug without RTL debug

3641:    set_debugger(1);    // load the debugger support    function d; +     mixed err = catch { -  +  function f = main_resolv("Debug.debug", +  get_compilation_handler(compat_major, compat_minor)); +  }; +  if(err) { +  werror("Debugging is only available when Pike is compiled with RTL debug.\n"); +  exit(1); +  } +  +  err = catch {    d = main_resolv("Debug.Debugger.debug_server",    get_compilation_handler(compat_major, compat_minor));    };