Skip to content

Commit

Permalink
UCS/CONFIG: Keep freeze-on-error for debug builds
Browse files Browse the repository at this point in the history
  • Loading branch information
yosefe committed Feb 13, 2018
1 parent bb2515e commit 00431f5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/ucs/config/global_opts.c
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,12 @@ static ucs_config_field_t ucs_global_opts_table[] = {
ucs_offsetof(ucs_global_opts_t, mpool_fifo), UCS_CONFIG_TYPE_BOOL},
#endif

{"HANDLE_ERRORS", "bt",
{"HANDLE_ERRORS",
#if ENABLE_DEBUG_DATA
"bt,freeze",
#else
"bt",
#endif
"Error handling mode. A combination of: 'bt' (print backtrace),\n"
"'freeze' (freeze and wait for a debugger), 'debug' (attach debugger)",
ucs_offsetof(ucs_global_opts_t, handle_errors),
Expand Down

0 comments on commit 00431f5

Please sign in to comment.