[haiku-bugs] Re: [Haiku] #10301: [debug_server] Allow configuring a default action on program crashes

  • From: "bonefish" <trac@xxxxxxxxxxxx>
  • Date: Thu, 12 Dec 2013 15:43:21 -0000

#10301: [debug_server] Allow configuring a default action on program crashes
------------------------------------+----------------------------
   Reporter:  anevilyak             |      Owner:  anevilyak
       Type:  enhancement           |     Status:  new
   Priority:  normal                |  Milestone:  Unscheduled
  Component:  Servers/debug_server  |    Version:  R1/Development
 Resolution:                        |   Keywords:
 Blocked By:                        |   Blocking:
Has a Patch:  0                     |   Platform:  All
------------------------------------+----------------------------

Comment (by bonefish):

 A driver settings file sounds like a simple enough solution. It could not
 only specify the general action -- "user", "kill", "log", "debug" -- but
 also executable specific ones, possibly even supporting simple pattern
 matching, e.g.:
 {{{
 default_action     user
 executable_actions {
   app_server log
   input_server log
   registrar log
   /boot/home/develop/my_test_suite/*/test-* log
 }
 }}}
 I don't think a preflet is needed, as it seems to be functionality only
 developers need in rare situations.

 The feature to set the action for a team via an API call (and via
 environment variable) would still be nice.

--
Ticket URL: <http://dev.haiku-os.org/ticket/10301#comment:1>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: