| 609 | |
| 610 | |
| 611 | void |
| 612 | ngx_debug_point(void) |
| 613 | { |
| 614 | ngx_core_conf_t *ccf; |
| 615 | |
| 616 | ccf = (ngx_core_conf_t *) ngx_get_conf(ngx_cycle->conf_ctx, |
| 617 | ngx_core_module); |
| 618 | |
| 619 | switch (ccf->debug_points) { |
| 620 | |
| 621 | case NGX_DEBUG_POINTS_STOP: |
| 622 | raise(SIGSTOP); |
| 623 | break; |
| 624 | |
| 625 | case NGX_DEBUG_POINTS_ABORT: |
| 626 | ngx_abort(); |
| 627 | } |
| 628 | } |
| 629 | |
| 630 | |
| 631 | ngx_int_t |
no outgoing calls
no test coverage detected